From 33b50e7d3b3940d98236cb33ae377d2f12696215 Mon Sep 17 00:00:00 2001
From: aws-sdk-go-automation
<43143561+aws-sdk-go-automation@users.noreply.github.com>
Date: Tue, 21 Feb 2023 12:30:59 -0800
Subject: [PATCH] Release v1.44.206 (2023-02-21) (#4734)
Release v1.44.206 (2023-02-21)
===
### Service Client Updates
* `service/quicksight`: Updates service API and documentation
* S3 data sources now accept a custom IAM role.
* `service/resiliencehub`: Updates service API, documentation, and paginators
* `service/securityhub`: Updates service documentation
* `service/tnb`: Updates service API, documentation, paginators, and examples
---
CHANGELOG.md | 10 +
aws/endpoints/defaults.go | 3 +
aws/version.go | 2 +-
models/apis/quicksight/2018-04-01/api-2.json | 3 +-
models/apis/quicksight/2018-04-01/docs-2.json | 3 +-
.../2018-04-01/endpoint-rule-set-1.json | 380 +-
.../2018-04-01/endpoint-tests-1.json | 149 +-
.../apis/resiliencehub/2020-04-30/api-2.json | 638 +-
.../apis/resiliencehub/2020-04-30/docs-2.json | 565 +-
.../2020-04-30/endpoint-rule-set-1.json | 399 +-
.../2020-04-30/endpoint-tests-1.json | 926 +-
.../2020-04-30/paginators-1.json | 10 +
.../apis/securityhub/2018-10-26/docs-2.json | 168 +-
.../2018-10-26/endpoint-rule-set-1.json | 380 +-
.../2018-10-26/endpoint-tests-1.json | 369 +-
models/apis/tnb/2008-10-21/api-2.json | 3125 ++++
models/apis/tnb/2008-10-21/defaults-1.json | 4 +
models/apis/tnb/2008-10-21/docs-2.json | 1116 ++
.../tnb/2008-10-21/endpoint-rule-set-1.json | 350 +
.../apis/tnb/2008-10-21/endpoint-tests-1.json | 295 +
models/apis/tnb/2008-10-21/examples-1.json | 5 +
models/apis/tnb/2008-10-21/paginators-1.json | 34 +
models/endpoints/endpoints.json | 1 +
service/quicksight/api.go | 17 +
service/resiliencehub/api.go | 14381 ++++++++++------
service/resiliencehub/errors.go | 21 +-
.../resiliencehubiface/interface.go | 58 +
service/securityhub/api.go | 280 +-
service/tnb/api.go | 9867 +++++++++++
service/tnb/doc.go | 31 +
service/tnb/errors.go | 56 +
service/tnb/service.go | 106 +
service/tnb/tnbiface/interface.go | 211 +
33 files changed, 26856 insertions(+), 7107 deletions(-)
create mode 100644 models/apis/tnb/2008-10-21/api-2.json
create mode 100644 models/apis/tnb/2008-10-21/defaults-1.json
create mode 100644 models/apis/tnb/2008-10-21/docs-2.json
create mode 100644 models/apis/tnb/2008-10-21/endpoint-rule-set-1.json
create mode 100644 models/apis/tnb/2008-10-21/endpoint-tests-1.json
create mode 100644 models/apis/tnb/2008-10-21/examples-1.json
create mode 100644 models/apis/tnb/2008-10-21/paginators-1.json
create mode 100644 service/tnb/api.go
create mode 100644 service/tnb/doc.go
create mode 100644 service/tnb/errors.go
create mode 100644 service/tnb/service.go
create mode 100644 service/tnb/tnbiface/interface.go
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d40c8187c30..bb397d37494 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+Release v1.44.206 (2023-02-21)
+===
+
+### Service Client Updates
+* `service/quicksight`: Updates service API and documentation
+ * S3 data sources now accept a custom IAM role.
+* `service/resiliencehub`: Updates service API, documentation, and paginators
+* `service/securityhub`: Updates service documentation
+* `service/tnb`: Updates service API, documentation, paginators, and examples
+
Release v1.44.205 (2023-02-20)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 6f4ad8ef19a..fb403f5d97a 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -14673,6 +14673,9 @@ var awsPartition = partition{
endpointKey{
Region: "eu-west-3",
}: endpoint{},
+ endpointKey{
+ Region: "me-central-1",
+ }: endpoint{},
endpointKey{
Region: "me-south-1",
}: endpoint{},
diff --git a/aws/version.go b/aws/version.go
index a9e3cca1a1a..0d409595e62 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.44.205"
+const SDKVersion = "1.44.206"
diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json
index 318a6ae58ba..5149abd435b 100644
--- a/models/apis/quicksight/2018-04-01/api-2.json
+++ b/models/apis/quicksight/2018-04-01/api-2.json
@@ -12323,7 +12323,8 @@
"type":"structure",
"required":["ManifestFileLocation"],
"members":{
- "ManifestFileLocation":{"shape":"ManifestFileLocation"}
+ "ManifestFileLocation":{"shape":"ManifestFileLocation"},
+ "RoleArn":{"shape":"RoleArn"}
}
},
"S3Source":{
diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json
index 9f964bbcf4f..b70da58d410 100644
--- a/models/apis/quicksight/2018-04-01/docs-2.json
+++ b/models/apis/quicksight/2018-04-01/docs-2.json
@@ -6953,7 +6953,8 @@
"RoleArn": {
"base": null,
"refs": {
- "AthenaParameters$RoleArn": "
Use the RoleArn
structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn
to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
"
+ "AthenaParameters$RoleArn": "Use the RoleArn
structure to override an account-wide role for a specific Athena data source. For example, say an account administrator has turned off all Athena access with an account-wide role. The administrator can then use RoleArn
to bypass the account-wide role and allow Athena access for the single Athena data source that is specified in the structure, even if the account-wide role forbidding Athena access is still active.
",
+ "S3Parameters$RoleArn": "Use the RoleArn
structure to override an account-wide role for a specific S3 data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use RoleArn
to bypass the account-wide role and allow S3 access for the single S3 data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.
"
}
},
"RoleName": {
diff --git a/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json b/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json
index 6f653eb8534..8eeea50afb8 100644
--- a/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json
+++ b/models/apis/quicksight/2018-04-01/endpoint-rule-set-1.json
@@ -3,7 +3,7 @@
"parameters": {
"Region": {
"builtIn": "AWS::Region",
- "required": true,
+ "required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "String"
},
@@ -32,13 +32,12 @@
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "isSet",
"argv": [
{
- "ref": "Region"
+ "ref": "Endpoint"
}
- ],
- "assign": "PartitionResult"
+ ]
}
],
"type": "tree",
@@ -46,14 +45,20 @@
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Endpoint"
- }
+ "ref": "UseFIPS"
+ },
+ true
]
}
],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
"type": "tree",
"rules": [
{
@@ -62,67 +67,42 @@
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "ref": "UseDualStack"
},
true
]
}
],
- "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
},
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
- },
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
]
- },
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
{
"conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- },
- {
- "fn": "booleanEquals",
+ "fn": "isSet",
"argv": [
{
- "ref": "UseDualStack"
- },
- true
+ "ref": "Region"
+ }
]
}
],
@@ -131,154 +111,215 @@
{
"conditions": [
{
- "fn": "booleanEquals",
+ "fn": "aws.partition",
"argv": [
- true,
{
- "fn": "getAttr",
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsFIPS"
+ true
]
- }
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- true,
+ },
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseDualStack"
},
- "supportsDualStack"
+ true
]
}
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
+ ],
"type": "tree",
"rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://quicksight-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
{
"conditions": [],
- "endpoint": {
- "url": "https://quicksight-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
}
]
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
},
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsFIPS"
+ true
]
}
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
+ ],
"type": "tree",
"rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://quicksight-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
{
"conditions": [],
- "endpoint": {
- "url": "https://quicksight-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
}
]
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
},
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseDualStack"
},
- "supportsDualStack"
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://quicksight.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
]
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
}
]
- }
- ],
- "type": "tree",
- "rules": [
+ },
{
"conditions": [],
"type": "tree",
@@ -286,7 +327,7 @@
{
"conditions": [],
"endpoint": {
- "url": "https://quicksight.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "url": "https://quicksight.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
@@ -295,28 +336,13 @@
]
}
]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
}
]
},
{
"conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://quicksight.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
diff --git a/models/apis/quicksight/2018-04-01/endpoint-tests-1.json b/models/apis/quicksight/2018-04-01/endpoint-tests-1.json
index 8102d1c826f..a5f371809b4 100644
--- a/models/apis/quicksight/2018-04-01/endpoint-tests-1.json
+++ b/models/apis/quicksight/2018-04-01/endpoint-tests-1.json
@@ -8,9 +8,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ap-northeast-1",
"UseFIPS": false,
- "Region": "ap-northeast-1"
+ "UseDualStack": false
}
},
{
@@ -21,9 +21,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ap-northeast-2",
"UseFIPS": false,
- "Region": "ap-northeast-2"
+ "UseDualStack": false
}
},
{
@@ -34,9 +34,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ap-south-1",
"UseFIPS": false,
- "Region": "ap-south-1"
+ "UseDualStack": false
}
},
{
@@ -47,9 +47,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ap-southeast-1",
"UseFIPS": false,
- "Region": "ap-southeast-1"
+ "UseDualStack": false
}
},
{
@@ -60,9 +60,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ap-southeast-2",
"UseFIPS": false,
- "Region": "ap-southeast-2"
+ "UseDualStack": false
}
},
{
@@ -73,9 +73,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "api",
"UseFIPS": false,
- "Region": "api"
+ "UseDualStack": false
}
},
{
@@ -86,9 +86,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "ca-central-1",
"UseFIPS": false,
- "Region": "ca-central-1"
+ "UseDualStack": false
}
},
{
@@ -99,9 +99,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "eu-central-1",
"UseFIPS": false,
- "Region": "eu-central-1"
+ "UseDualStack": false
}
},
{
@@ -112,9 +112,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "eu-west-1",
"UseFIPS": false,
- "Region": "eu-west-1"
+ "UseDualStack": false
}
},
{
@@ -125,9 +125,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "eu-west-2",
"UseFIPS": false,
- "Region": "eu-west-2"
+ "UseDualStack": false
}
},
{
@@ -138,9 +138,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "sa-east-1",
"UseFIPS": false,
- "Region": "sa-east-1"
+ "UseDualStack": false
}
},
{
@@ -151,9 +151,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-east-1",
"UseFIPS": false,
- "Region": "us-east-1"
+ "UseDualStack": false
}
},
{
@@ -164,9 +164,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-east-2",
"UseFIPS": false,
- "Region": "us-east-2"
+ "UseDualStack": false
}
},
{
@@ -177,9 +177,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-west-2",
"UseFIPS": false,
- "Region": "us-west-2"
+ "UseDualStack": false
}
},
{
@@ -190,9 +190,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "us-east-1",
"UseFIPS": true,
- "Region": "us-east-1"
+ "UseDualStack": true
}
},
{
@@ -203,9 +203,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-east-1",
"UseFIPS": true,
- "Region": "us-east-1"
+ "UseDualStack": false
}
},
{
@@ -216,9 +216,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "us-east-1",
"UseFIPS": false,
- "Region": "us-east-1"
+ "UseDualStack": true
}
},
{
@@ -229,9 +229,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "cn-north-1",
"UseFIPS": true,
- "Region": "cn-north-1"
+ "UseDualStack": true
}
},
{
@@ -242,9 +242,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "cn-north-1",
"UseFIPS": true,
- "Region": "cn-north-1"
+ "UseDualStack": false
}
},
{
@@ -255,9 +255,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "cn-north-1",
"UseFIPS": false,
- "Region": "cn-north-1"
+ "UseDualStack": true
}
},
{
@@ -268,9 +268,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "cn-north-1",
"UseFIPS": false,
- "Region": "cn-north-1"
+ "UseDualStack": false
}
},
{
@@ -281,9 +281,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "api",
"UseFIPS": false,
- "Region": "api"
+ "UseDualStack": false
}
},
{
@@ -294,9 +294,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-gov-west-1",
"UseFIPS": false,
- "Region": "us-gov-west-1"
+ "UseDualStack": false
}
},
{
@@ -307,9 +307,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "Region": "us-gov-east-1"
+ "UseDualStack": true
}
},
{
@@ -320,9 +320,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "Region": "us-gov-east-1"
+ "UseDualStack": false
}
},
{
@@ -333,9 +333,9 @@
}
},
"params": {
- "UseDualStack": true,
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "Region": "us-gov-east-1"
+ "UseDualStack": true
}
},
{
@@ -346,9 +346,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "Region": "us-gov-east-1"
+ "UseDualStack": false
}
},
{
@@ -359,9 +359,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-iso-east-1",
"UseFIPS": true,
- "Region": "us-iso-east-1"
+ "UseDualStack": false
}
},
{
@@ -372,9 +372,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-iso-east-1",
"UseFIPS": false,
- "Region": "us-iso-east-1"
+ "UseDualStack": false
}
},
{
@@ -385,9 +385,9 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-isob-east-1",
"UseFIPS": true,
- "Region": "us-isob-east-1"
+ "UseDualStack": false
}
},
{
@@ -398,22 +398,35 @@
}
},
"params": {
- "UseDualStack": false,
+ "Region": "us-isob-east-1",
"UseFIPS": false,
- "Region": "us-isob-east-1"
+ "UseDualStack": false
}
},
{
- "documentation": "For custom endpoint with fips disabled and dualstack disabled",
+ "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,
- "Region": "us-east-1",
+ "UseDualStack": false,
"Endpoint": "https://example.com"
}
},
@@ -423,9 +436,9 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
- "UseDualStack": false,
- "UseFIPS": true,
"Region": "us-east-1",
+ "UseFIPS": true,
+ "UseDualStack": false,
"Endpoint": "https://example.com"
}
},
@@ -435,9 +448,9 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
- "UseDualStack": true,
- "UseFIPS": false,
"Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": true,
"Endpoint": "https://example.com"
}
}
diff --git a/models/apis/resiliencehub/2020-04-30/api-2.json b/models/apis/resiliencehub/2020-04-30/api-2.json
index 72646d9f086..fe3c97f2730 100644
--- a/models/apis/resiliencehub/2020-04-30/api-2.json
+++ b/models/apis/resiliencehub/2020-04-30/api-2.json
@@ -49,6 +49,44 @@
{"shape":"AccessDeniedException"}
]
},
+ "CreateAppVersionAppComponent":{
+ "name":"CreateAppVersionAppComponent",
+ "http":{
+ "method":"POST",
+ "requestUri":"/create-app-version-app-component",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateAppVersionAppComponentRequest"},
+ "output":{"shape":"CreateAppVersionAppComponentResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "CreateAppVersionResource":{
+ "name":"CreateAppVersionResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/create-app-version-resource",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateAppVersionResourceRequest"},
+ "output":{"shape":"CreateAppVersionResourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
"CreateRecommendationTemplate":{
"name":"CreateRecommendationTemplate",
"http":{
@@ -62,6 +100,7 @@
{"shape":"InternalServerException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ConflictException"},
+ {"shape":"ServiceQuotaExceededException"},
{"shape":"ThrottlingException"},
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"}
@@ -120,6 +159,60 @@
{"shape":"AccessDeniedException"}
]
},
+ "DeleteAppInputSource":{
+ "name":"DeleteAppInputSource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/delete-app-input-source",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteAppInputSourceRequest"},
+ "output":{"shape":"DeleteAppInputSourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "DeleteAppVersionAppComponent":{
+ "name":"DeleteAppVersionAppComponent",
+ "http":{
+ "method":"POST",
+ "requestUri":"/delete-app-version-app-component",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteAppVersionAppComponentRequest"},
+ "output":{"shape":"DeleteAppVersionAppComponentResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "DeleteAppVersionResource":{
+ "name":"DeleteAppVersionResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/delete-app-version-resource",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteAppVersionResourceRequest"},
+ "output":{"shape":"DeleteAppVersionResourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
"DeleteRecommendationTemplate":{
"name":"DeleteRecommendationTemplate",
"http":{
@@ -189,6 +282,59 @@
{"shape":"AccessDeniedException"}
]
},
+ "DescribeAppVersion":{
+ "name":"DescribeAppVersion",
+ "http":{
+ "method":"POST",
+ "requestUri":"/describe-app-version",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeAppVersionRequest"},
+ "output":{"shape":"DescribeAppVersionResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "DescribeAppVersionAppComponent":{
+ "name":"DescribeAppVersionAppComponent",
+ "http":{
+ "method":"POST",
+ "requestUri":"/describe-app-version-app-component",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeAppVersionAppComponentRequest"},
+ "output":{"shape":"DescribeAppVersionAppComponentResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "DescribeAppVersionResource":{
+ "name":"DescribeAppVersionResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/describe-app-version-resource",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeAppVersionResourceRequest"},
+ "output":{"shape":"DescribeAppVersionResourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
"DescribeAppVersionResourcesResolutionStatus":{
"name":"DescribeAppVersionResourcesResolutionStatus",
"http":{
@@ -343,6 +489,41 @@
{"shape":"AccessDeniedException"}
]
},
+ "ListAppInputSources":{
+ "name":"ListAppInputSources",
+ "http":{
+ "method":"POST",
+ "requestUri":"/list-app-input-sources",
+ "responseCode":200
+ },
+ "input":{"shape":"ListAppInputSourcesRequest"},
+ "output":{"shape":"ListAppInputSourcesResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "ListAppVersionAppComponents":{
+ "name":"ListAppVersionAppComponents",
+ "http":{
+ "method":"POST",
+ "requestUri":"/list-app-version-app-components",
+ "responseCode":200
+ },
+ "input":{"shape":"ListAppVersionAppComponentsRequest"},
+ "output":{"shape":"ListAppVersionAppComponentsResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
"ListAppVersionResourceMappings":{
"name":"ListAppVersionResourceMappings",
"http":{
@@ -674,6 +855,61 @@
{"shape":"AccessDeniedException"}
]
},
+ "UpdateAppVersion":{
+ "name":"UpdateAppVersion",
+ "http":{
+ "method":"POST",
+ "requestUri":"/update-app-version",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateAppVersionRequest"},
+ "output":{"shape":"UpdateAppVersionResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "UpdateAppVersionAppComponent":{
+ "name":"UpdateAppVersionAppComponent",
+ "http":{
+ "method":"POST",
+ "requestUri":"/update-app-version-app-component",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateAppVersionAppComponentRequest"},
+ "output":{"shape":"UpdateAppVersionAppComponentResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
+ "UpdateAppVersionResource":{
+ "name":"UpdateAppVersionResource",
+ "http":{
+ "method":"POST",
+ "requestUri":"/update-app-version-resource",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateAppVersionResourceRequest"},
+ "output":{"shape":"UpdateAppVersionResourceResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"},
+ {"shape":"AccessDeniedException"}
+ ]
+ },
"UpdateResiliencyPolicy":{
"name":"UpdateResiliencyPolicy",
"http":{
@@ -729,6 +965,17 @@
"resourceMappings":{"shape":"ResourceMappingList"}
}
},
+ "AdditionalInfoMap":{
+ "type":"map",
+ "key":{"shape":"String128WithoutWhitespace"},
+ "value":{"shape":"AdditionalInfoValueList"}
+ },
+ "AdditionalInfoValueList":{
+ "type":"list",
+ "member":{"shape":"String1024"},
+ "max":10,
+ "min":1
+ },
"AlarmRecommendation":{
"type":"structure",
"required":[
@@ -864,6 +1111,8 @@
"type"
],
"members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "id":{"shape":"String255"},
"name":{"shape":"String255"},
"type":{"shape":"String255"}
}
@@ -883,6 +1132,25 @@
"type":"list",
"member":{"shape":"AppComponent"}
},
+ "AppComponentNameList":{
+ "type":"list",
+ "member":{"shape":"String255"}
+ },
+ "AppInputSource":{
+ "type":"structure",
+ "required":["importType"],
+ "members":{
+ "importType":{"shape":"ResourceMappingType"},
+ "resourceCount":{"shape":"Integer"},
+ "sourceArn":{"shape":"Arn"},
+ "sourceName":{"shape":"String255"},
+ "terraformSource":{"shape":"TerraformSource"}
+ }
+ },
+ "AppInputSourceList":{
+ "type":"list",
+ "member":{"shape":"AppInputSource"}
+ },
"AppStatusType":{
"type":"string",
"enum":[
@@ -931,7 +1199,7 @@
},
"Arn":{
"type":"string",
- "pattern":"^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+=,@.-]{0,1023}$"
+ "pattern":"^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}$"
},
"ArnList":{
"type":"list",
@@ -1098,6 +1366,75 @@
"app":{"shape":"App"}
}
},
+ "CreateAppVersionAppComponentRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "name",
+ "type"
+ ],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "id":{"shape":"String255"},
+ "name":{"shape":"String255"},
+ "type":{"shape":"String255"}
+ }
+ },
+ "CreateAppVersionAppComponentResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appComponent":{"shape":"AppComponent"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
+ "CreateAppVersionResourceRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appComponents",
+ "logicalResourceId",
+ "physicalResourceId",
+ "resourceName",
+ "resourceType"
+ ],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "appComponents":{"shape":"AppComponentNameList"},
+ "awsAccountId":{"shape":"CustomerId"},
+ "awsRegion":{"shape":"AwsRegion"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "logicalResourceId":{"shape":"LogicalResourceId"},
+ "physicalResourceId":{"shape":"String2048"},
+ "resourceName":{"shape":"EntityName"},
+ "resourceType":{"shape":"String255"}
+ }
+ },
+ "CreateAppVersionResourceResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "physicalResource":{"shape":"PhysicalResource"}
+ }
+ },
"CreateRecommendationTemplateRequest":{
"type":"structure",
"required":[
@@ -1190,6 +1527,26 @@
"assessmentStatus":{"shape":"AssessmentStatus"}
}
},
+ "DeleteAppInputSourceRequest":{
+ "type":"structure",
+ "required":["appArn"],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "sourceArn":{"shape":"Arn"},
+ "terraformSource":{"shape":"TerraformSource"}
+ }
+ },
+ "DeleteAppInputSourceResponse":{
+ "type":"structure",
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appInputSource":{"shape":"AppInputSource"}
+ }
+ },
"DeleteAppRequest":{
"type":"structure",
"required":["appArn"],
@@ -1209,6 +1566,61 @@
"appArn":{"shape":"Arn"}
}
},
+ "DeleteAppVersionAppComponentRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "id"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "id":{"shape":"String255"}
+ }
+ },
+ "DeleteAppVersionAppComponentResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appComponent":{"shape":"AppComponent"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
+ "DeleteAppVersionResourceRequest":{
+ "type":"structure",
+ "required":["appArn"],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "awsAccountId":{"shape":"CustomerId"},
+ "awsRegion":{"shape":"AwsRegion"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "logicalResourceId":{"shape":"LogicalResourceId"},
+ "physicalResourceId":{"shape":"String2048"},
+ "resourceName":{"shape":"EntityName"}
+ }
+ },
+ "DeleteAppVersionResourceResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "physicalResource":{"shape":"PhysicalResource"}
+ }
+ },
"DeleteRecommendationTemplateRequest":{
"type":"structure",
"required":["recommendationTemplateArn"],
@@ -1277,6 +1689,70 @@
"app":{"shape":"App"}
}
},
+ "DescribeAppVersionAppComponentRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion",
+ "id"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "id":{"shape":"String255"}
+ }
+ },
+ "DescribeAppVersionAppComponentResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appComponent":{"shape":"AppComponent"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
+ "DescribeAppVersionRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
+ "DescribeAppVersionResourceRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "awsAccountId":{"shape":"CustomerId"},
+ "awsRegion":{"shape":"AwsRegion"},
+ "logicalResourceId":{"shape":"LogicalResourceId"},
+ "physicalResourceId":{"shape":"String2048"},
+ "resourceName":{"shape":"EntityName"}
+ }
+ },
+ "DescribeAppVersionResourceResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "physicalResource":{"shape":"PhysicalResource"}
+ }
+ },
"DescribeAppVersionResourcesResolutionStatusRequest":{
"type":"structure",
"required":[
@@ -1305,6 +1781,18 @@
"status":{"shape":"ResourceResolutionStatusType"}
}
},
+ "DescribeAppVersionResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
"DescribeAppVersionTemplateRequest":{
"type":"structure",
"required":[
@@ -1414,7 +1902,7 @@
},
"EntityId":{
"type":"string",
- "pattern":"^\\S{1,100}$"
+ "pattern":"^\\S{1,255}$"
},
"EntityName":{
"type":"string",
@@ -1468,6 +1956,7 @@
"required":["appArn"],
"members":{
"appArn":{"shape":"Arn"},
+ "importStrategy":{"shape":"ResourceImportStrategyType"},
"sourceArns":{"shape":"ArnList"},
"terraformSources":{"shape":"TerraformSourceList"}
}
@@ -1487,6 +1976,7 @@
"terraformSources":{"shape":"TerraformSourceList"}
}
},
+ "Integer":{"type":"integer"},
"InternalServerException":{
"type":"structure",
"members":{
@@ -1600,6 +2090,53 @@
"nextToken":{"shape":"NextToken"}
}
},
+ "ListAppInputSourcesRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "maxResults":{"shape":"MaxResults"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListAppInputSourcesResponse":{
+ "type":"structure",
+ "required":["appInputSources"],
+ "members":{
+ "appInputSources":{"shape":"AppInputSourceList"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListAppVersionAppComponentsRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "maxResults":{"shape":"MaxResults"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
+ "ListAppVersionAppComponentsResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appComponents":{"shape":"AppComponentList"},
+ "appVersion":{"shape":"EntityVersion"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
"ListAppVersionResourceMappingsRequest":{
"type":"structure",
"required":[
@@ -1908,7 +2445,9 @@
"resourceType"
],
"members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
"appComponents":{"shape":"AppComponentList"},
+ "excluded":{"shape":"BooleanOptional"},
"logicalResourceId":{"shape":"LogicalResourceId"},
"physicalResourceId":{"shape":"PhysicalResourceId"},
"resourceName":{"shape":"EntityName"},
@@ -2184,6 +2723,13 @@
"Success"
]
},
+ "ResourceImportStrategyType":{
+ "type":"string",
+ "enum":[
+ "AddOnly",
+ "ReplaceAll"
+ ]
+ },
"ResourceMapping":{
"type":"structure",
"required":[
@@ -2328,6 +2874,20 @@
"assessment":{"shape":"AppAssessment"}
}
},
+ "String1024":{
+ "type":"string",
+ "max":1024,
+ "min":1
+ },
+ "String128WithoutWhitespace":{
+ "type":"string",
+ "pattern":"^\\S{1,128}$"
+ },
+ "String2048":{
+ "type":"string",
+ "max":2048,
+ "min":1
+ },
"String255":{
"type":"string",
"max":255,
@@ -2521,6 +3081,80 @@
"app":{"shape":"App"}
}
},
+ "UpdateAppVersionAppComponentRequest":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "id"
+ ],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "id":{"shape":"String255"},
+ "name":{"shape":"String255"},
+ "type":{"shape":"String255"}
+ }
+ },
+ "UpdateAppVersionAppComponentResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appComponent":{"shape":"AppComponent"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
+ "UpdateAppVersionRequest":{
+ "type":"structure",
+ "required":["appArn"],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"}
+ }
+ },
+ "UpdateAppVersionResourceRequest":{
+ "type":"structure",
+ "required":["appArn"],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "appComponents":{"shape":"AppComponentNameList"},
+ "awsAccountId":{"shape":"CustomerId"},
+ "awsRegion":{"shape":"AwsRegion"},
+ "excluded":{"shape":"BooleanOptional"},
+ "logicalResourceId":{"shape":"LogicalResourceId"},
+ "physicalResourceId":{"shape":"String2048"},
+ "resourceName":{"shape":"EntityName"},
+ "resourceType":{"shape":"String255"}
+ }
+ },
+ "UpdateAppVersionResourceResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"},
+ "physicalResource":{"shape":"PhysicalResource"}
+ }
+ },
+ "UpdateAppVersionResponse":{
+ "type":"structure",
+ "required":[
+ "appArn",
+ "appVersion"
+ ],
+ "members":{
+ "additionalInfo":{"shape":"AdditionalInfoMap"},
+ "appArn":{"shape":"Arn"},
+ "appVersion":{"shape":"EntityVersion"}
+ }
+ },
"UpdateResiliencyPolicyRequest":{
"type":"structure",
"required":["policyArn"],
diff --git a/models/apis/resiliencehub/2020-04-30/docs-2.json b/models/apis/resiliencehub/2020-04-30/docs-2.json
index 8a46796b310..0b912b79b27 100644
--- a/models/apis/resiliencehub/2020-04-30/docs-2.json
+++ b/models/apis/resiliencehub/2020-04-30/docs-2.json
@@ -2,44 +2,57 @@
"version": "2.0",
"service": "AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
",
"operations": {
- "AddDraftAppVersionResourceMappings": "Adds the resource mapping for the draft application version.
",
- "CreateApp": "Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
",
- "CreateRecommendationTemplate": "Creates a new recommendation template.
",
+ "AddDraftAppVersionResourceMappings": "Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
",
+ "CreateApp": "Creates an AWS Resilience Hub application. An AWS Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a AWS Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create an AWS Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
",
+ "CreateAppVersionAppComponent": "Creates a new Application Component in the AWS Resilience Hub application.
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
",
+ "CreateAppVersionResource": "Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified Application Components. If you specify a new Application Component, AWS Resilience Hub will automatically create the Application Component.
-
This action has no effect outside AWS Resilience Hub.
-
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
-
To update application version with new physicalResourceID
, you must call ResolveAppVersionResources
API.
",
+ "CreateRecommendationTemplate": "Creates a new recommendation template for the AWS Resilience Hub application.
",
"CreateResiliencyPolicy": "Creates a resiliency policy for an application.
",
"DeleteApp": "Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
",
"DeleteAppAssessment": "Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
",
+ "DeleteAppInputSource": "Deletes the input source and all of its imported resources from the AWS Resilience Hub application.
",
+ "DeleteAppVersionAppComponent": "Deletes an Application Component from the AWS Resilience Hub application.
-
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
-
You will not be able to delete an Application Component if it has resources associated with it.
",
+ "DeleteAppVersionResource": "Deletes a resource from the AWS Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource
API.
-
This action has no effect outside AWS Resilience Hub.
-
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
",
"DeleteRecommendationTemplate": "Deletes a recommendation template. This is a destructive action that can't be undone.
",
"DeleteResiliencyPolicy": "Deletes a resiliency policy. This is a destructive action that can't be undone.
",
"DescribeApp": "Describes an AWS Resilience Hub application.
",
"DescribeAppAssessment": "Describes an assessment for an AWS Resilience Hub application.
",
+ "DescribeAppVersion": "Describes the AWS Resilience Hub application version.
",
+ "DescribeAppVersionAppComponent": "Describes an Application Component in the AWS Resilience Hub application.
",
+ "DescribeAppVersionResource": "Describes a resource of the AWS Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
",
"DescribeAppVersionResourcesResolutionStatus": "Returns the resolution status for the specified resolution identifier for an application version. If resolutionId
is not specified, the current resolution status is returned.
",
- "DescribeAppVersionTemplate": "Describes details about an AWS Resilience Hub
",
- "DescribeDraftAppVersionResourcesImportStatus": "Describes the status of importing resources to an application version.
",
+ "DescribeAppVersionTemplate": "Describes details about an AWS Resilience Hub application.
",
+ "DescribeDraftAppVersionResourcesImportStatus": "Describes the status of importing resources to an application version.
If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException
, you must call importResourcesToDraftAppVersion
after creating the application and before calling describeDraftAppVersionResourcesImportStatus
to obtain the status.
",
"DescribeResiliencyPolicy": "Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
",
- "ImportResourcesToDraftAppVersion": "Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
",
- "ListAlarmRecommendations": "Lists the alarm recommendations for a AWS Resilience Hub application.
",
+ "ImportResourcesToDraftAppVersion": "Imports resources to AWS Resilience Hub application draft version from different input sources. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application.
",
+ "ListAlarmRecommendations": "Lists the alarm recommendations for an AWS Resilience Hub application.
",
"ListAppAssessments": "Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
",
- "ListAppComponentCompliances": "Lists the compliances for an AWS Resilience Hub component.
",
- "ListAppComponentRecommendations": "Lists the recommendations for an AWS Resilience Hub component.
",
+ "ListAppComponentCompliances": "Lists the compliances for an AWS Resilience Hub Application Component.
",
+ "ListAppComponentRecommendations": "Lists the recommendations for an AWS Resilience Hub Application Component.
",
+ "ListAppInputSources": "Lists all the input sources of the AWS Resilience Hub application. For more information about the input sources supported by AWS Resilience Hub, see Discover the structure and describe your Resilience Hub application.
",
+ "ListAppVersionAppComponents": "Lists all the Application Components in the AWS Resilience Hub application.
",
"ListAppVersionResourceMappings": "Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
",
- "ListAppVersionResources": "Lists all the resources in an application version.
",
- "ListAppVersions": "Lists the different versions for the Resilience Hub applications.
",
- "ListApps": "Lists your Resilience Hub applications.
",
- "ListRecommendationTemplates": "Lists the recommendation templates for the Resilience Hub applications.
",
- "ListResiliencyPolicies": "Lists the resiliency policies for the Resilience Hub applications.
",
- "ListSopRecommendations": "Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
",
- "ListSuggestedResiliencyPolicies": "Lists the suggested resiliency policies for the Resilience Hub applications.
",
- "ListTagsForResource": "Lists the tags for your resources in your Resilience Hub applications.
",
- "ListTestRecommendations": "Lists the test recommendations for the Resilience Hub application.
",
- "ListUnsupportedAppVersionResources": "Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
",
- "PublishAppVersion": "Publishes a new version of a specific Resilience Hub application.
",
- "PutDraftAppVersionTemplate": "Adds or updates the app template for a draft version of a Resilience Hub app.
",
+ "ListAppVersionResources": "Lists all the resources in an AWS Resilience Hub application.
",
+ "ListAppVersions": "Lists the different versions for the AWS Resilience Hub applications.
",
+ "ListApps": "Lists your AWS Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
",
+ "ListRecommendationTemplates": "Lists the recommendation templates for the AWS Resilience Hub applications.
",
+ "ListResiliencyPolicies": "Lists the resiliency policies for the AWS Resilience Hub applications.
",
+ "ListSopRecommendations": "Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.
",
+ "ListSuggestedResiliencyPolicies": "Lists the suggested resiliency policies for the AWS Resilience Hub applications.
",
+ "ListTagsForResource": "Lists the tags for your resources in your AWS Resilience Hub applications.
",
+ "ListTestRecommendations": "Lists the test recommendations for the AWS Resilience Hub application.
",
+ "ListUnsupportedAppVersionResources": "Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by AWS Resilience Hub.
",
+ "PublishAppVersion": "Publishes a new version of a specific AWS Resilience Hub application.
",
+ "PutDraftAppVersionTemplate": "Adds or updates the app template for an AWS Resilience Hub application draft version.
",
"RemoveDraftAppVersionResourceMappings": "Removes resource mappings from a draft application version.
",
"ResolveAppVersionResources": "Resolves the resources for an application version.
",
"StartAppAssessment": "Creates a new application assessment for an application.
",
"TagResource": "Applies one or more tags to a resource.
",
"UntagResource": "Removes one or more tags from a resource.
",
"UpdateApp": "Updates an application.
",
+ "UpdateAppVersion": "Updates the AWS Resilience Hub application version.
This API updates the AWS Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
",
+ "UpdateAppVersionAppComponent": "Updates an existing Application Component in the AWS Resilience Hub application.
This API updates the AWS Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
",
+ "UpdateAppVersionResource": "Updates the resource details in the AWS Resilience Hub application.
-
This action has no effect outside AWS Resilience Hub.
-
This API updates the AWS Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the AWS Resilience Hub application using the PublishAppVersion
API.
-
To update application version with new physicalResourceID
, you must call ResolveAppVersionResources
API.
",
"UpdateResiliencyPolicy": "Updates a resiliency policy.
"
},
"shapes": {
@@ -58,6 +71,26 @@
"refs": {
}
},
+ "AdditionalInfoMap": {
+ "base": null,
+ "refs": {
+ "AppComponent$additionalInfo": "Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: \"failover-regions\"
Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"
",
+ "CreateAppVersionAppComponentRequest$additionalInfo": "Currently, there is no supported additional information for Application Components.
",
+ "CreateAppVersionResourceRequest$additionalInfo": "Currently, there is no supported additional information for resources.
",
+ "DescribeAppVersionResponse$additionalInfo": "Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter supports only failover region and account.
",
+ "PhysicalResource$additionalInfo": "Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: \"failover-regions\"
Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"
",
+ "UpdateAppVersionAppComponentRequest$additionalInfo": "Currently, there is no supported additional information for Application Components.
",
+ "UpdateAppVersionRequest$additionalInfo": "Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: \"failover-regions\"
Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"
",
+ "UpdateAppVersionResourceRequest$additionalInfo": "Currently, there is no supported additional information for resources.
",
+ "UpdateAppVersionResponse$additionalInfo": "Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter supports only failover region and account.
"
+ }
+ },
+ "AdditionalInfoValueList": {
+ "base": null,
+ "refs": {
+ "AdditionalInfoMap$value": null
+ }
+ },
"AlarmRecommendation": {
"base": "Defines a recommendation for a CloudWatch alarm.
",
"refs": {
@@ -67,7 +100,7 @@
"AlarmRecommendationList": {
"base": null,
"refs": {
- "ListAlarmRecommendationsResponse$alarmRecommendations": "The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes application component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.
"
+ "ListAlarmRecommendationsResponse$alarmRecommendations": "The alarm recommendations for an AWS Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.
"
}
},
"AlarmReferenceIdList": {
@@ -83,7 +116,7 @@
}
},
"App": {
- "base": "Defines a Resilience Hub application.
",
+ "base": "Defines an AWS Resilience Hub application.
",
"refs": {
"CreateAppResponse$app": "The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.
",
"DescribeAppResponse$app": "The specified application, returned as an object with details including compliance status, creation time, description, resiliency score, and more.
",
@@ -126,13 +159,17 @@
}
},
"AppComponent": {
- "base": "Defines an application component.
",
+ "base": "Defines an Application Component.
",
"refs": {
- "AppComponentList$member": null
+ "AppComponentList$member": null,
+ "CreateAppVersionAppComponentResponse$appComponent": null,
+ "DeleteAppVersionAppComponentResponse$appComponent": null,
+ "DescribeAppVersionAppComponentResponse$appComponent": null,
+ "UpdateAppVersionAppComponentResponse$appComponent": null
}
},
"AppComponentCompliance": {
- "base": "Defines the compliance of an application component against the resiliency policy.
",
+ "base": "Defines the compliance of an Application Component against the resiliency policy.
",
"refs": {
"ComponentCompliancesList$member": null
}
@@ -140,9 +177,30 @@
"AppComponentList": {
"base": null,
"refs": {
+ "ListAppVersionAppComponentsResponse$appComponents": "Defines an Application Component.
",
"PhysicalResource$appComponents": "The application components that belong to this resource.
"
}
},
+ "AppComponentNameList": {
+ "base": null,
+ "refs": {
+ "CreateAppVersionResourceRequest$appComponents": "The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
",
+ "UpdateAppVersionResourceRequest$appComponents": "The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
"
+ }
+ },
+ "AppInputSource": {
+ "base": "The list of AWS Resilience Hub application input sources.
",
+ "refs": {
+ "AppInputSourceList$member": null,
+ "DeleteAppInputSourceResponse$appInputSource": "The name of the input source from where the application resource is imported from.
"
+ }
+ },
+ "AppInputSourceList": {
+ "base": null,
+ "refs": {
+ "ListAppInputSourcesResponse$appInputSources": "The list of AWS Resilience Hub application input sources.
"
+ }
+ },
"AppStatusType": {
"base": null,
"refs": {
@@ -159,14 +217,14 @@
"AppSummaryList": {
"base": null,
"refs": {
- "ListAppsResponse$appSummaries": "Summaries for the Resilience Hub application.
"
+ "ListAppsResponse$appSummaries": "Summaries for the AWS Resilience Hub application.
"
}
},
"AppTemplateBody": {
"base": null,
"refs": {
- "DescribeAppVersionTemplateResponse$appTemplateBody": "The body of the template.
",
- "PutDraftAppVersionTemplateRequest$appTemplateBody": "A JSON string that contains the body of the app template.
"
+ "DescribeAppVersionTemplateResponse$appTemplateBody": "A JSON string that provides information about your application structure. To learn more about the appTemplateBody
template, see the sample template provided in the Examples section.
The appTemplateBody
JSON string has the following structure:
-
resources
The list of logical resources that needs to be included in the application.
Type: Array
Don't add the resources that you want to exclude.
Each resources
array item includes the following fields:
-
logicalResourceId
The logical identifier of the resource.
Type: Object
Each logicalResourceId
object includes the following fields:
-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
type
The type of resource.
Type: string
-
name
The name of the resource.
Type: String
-
appComponents
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
Type: Array
Each appComponents
array item includes the following fields:
-
name
The name of the Application Component.
Type: String
-
type
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Type: String
-
resourceNames
The list of included resources that are assigned to the Application Component.
Type: Array of strings
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: \"failover-regions\"
Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"
-
excludedResources
The list of logical resource identifiers to be excluded from the application.
Type: Array
Don't add the resources that you want to include.
Each excludedResources
array item includes the following fields:
",
+ "PutDraftAppVersionTemplateRequest$appTemplateBody": "A JSON string that provides information about your application structure. To learn more about the appTemplateBody
template, see the sample template provided in the Examples section.
The appTemplateBody
JSON string has the following structure:
-
resources
The list of logical resources that needs to be included in the application.
Type: Array
Don't add the resources that you want to exclude.
Each resources
array item includes the following fields:
-
logicalResourceId
The logical identifier of the resource.
Type: Object
Each logicalResourceId
object includes the following fields:
-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
type
The type of resource.
Type: string
-
name
The name of the resource.
Type: String
-
appComponents
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
Type: Array
Each appComponents
array item includes the following fields:
-
name
The name of the Application Component.
Type: String
-
type
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Type: String
-
resourceNames
The list of included resources that are assigned to the Application Component.
Type: Array of strings
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: \"failover-regions\"
Value: \"[{\"region\":\"<REGION>\", \"accounts\":[{\"id\":\"<ACCOUNT_ID>\"}]}]\"
-
excludedResources
The list of logical resource identifiers to be excluded from the application.
Type: Array
Don't add the resources that you want to include.
Each excludedResources
array item includes the following fields:
"
}
},
"AppVersionList": {
@@ -184,69 +242,96 @@
"Arn": {
"base": null,
"refs": {
- "AddDraftAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AddDraftAppVersionResourceMappingsResponse$appArn": " The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "App$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "App$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AppAssessment$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AppAssessment$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AppAssessmentSummary$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AppAssessmentSummary$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "AppSummary$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
+ "AddDraftAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AddDraftAppVersionResourceMappingsResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "App$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "App$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppAssessment$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppAssessment$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppAssessmentSummary$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppAssessmentSummary$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppInputSource$sourceArn": "The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "AppSummary$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
"ArnList$member": null,
- "CreateAppRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "CreateRecommendationTemplateRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DeleteAppAssessmentRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DeleteAppAssessmentResponse$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DeleteAppRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DeleteAppResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
+ "CreateAppRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "CreateAppVersionAppComponentRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "CreateAppVersionAppComponentResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "CreateAppVersionResourceRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "CreateAppVersionResourceResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "CreateRecommendationTemplateRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppAssessmentRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppAssessmentResponse$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppInputSourceRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppInputSourceRequest$sourceArn": "The Amazon Resource Name (ARN) of the imported resource you want to remove from the AWS Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppInputSourceResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppVersionAppComponentRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppVersionAppComponentResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppVersionResourceRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteAppVersionResourceResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
"DeleteRecommendationTemplateRequest$recommendationTemplateArn": "The Amazon Resource Name (ARN) for a recommendation template.
",
"DeleteRecommendationTemplateResponse$recommendationTemplateArn": "The Amazon Resource Name (ARN) for a recommendation template.
",
- "DeleteResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DeleteResiliencyPolicyResponse$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppAssessmentRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppVersionResourcesResolutionStatusRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppVersionResourcesResolutionStatusResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppVersionTemplateRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeAppVersionTemplateResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeDraftAppVersionResourcesImportStatusRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeDraftAppVersionResourcesImportStatusResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "DescribeResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ImportResourcesToDraftAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ImportResourcesToDraftAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAlarmRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppAssessmentsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppComponentCompliancesRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppComponentRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppVersionsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListAppsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListRecommendationTemplatesRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
+ "DeleteResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DeleteResiliencyPolicyResponse$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppAssessmentRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionAppComponentRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionAppComponentResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionResourceRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionResourceResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionResourcesResolutionStatusRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionResourcesResolutionStatusResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionTemplateRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeAppVersionTemplateResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeDraftAppVersionResourcesImportStatusRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeDraftAppVersionResourcesImportStatusResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "DescribeResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ImportResourcesToDraftAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ImportResourcesToDraftAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAlarmRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppAssessmentsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppComponentCompliancesRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppComponentRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppInputSourcesRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppVersionAppComponentsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppVersionAppComponentsResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppVersionsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListAppsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListRecommendationTemplatesRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
"ListRecommendationTemplatesRequest$recommendationTemplateArn": "The Amazon Resource Name (ARN) for a recommendation template.
",
- "ListSopRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) for a specific resource in your Resilience Hub application.
",
- "ListTestRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ListUnsupportedAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "PublishAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "PublishAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "PutDraftAppVersionTemplateRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "PutDraftAppVersionTemplateResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "RecommendationTemplate$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "RecommendationTemplate$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
+ "ListSopRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) for a specific resource in your AWS Resilience Hub application.
",
+ "ListTestRecommendationsRequest$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ListUnsupportedAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "PublishAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "PublishAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "PutDraftAppVersionTemplateRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "PutDraftAppVersionTemplateResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "RecommendationTemplate$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "RecommendationTemplate$assessmentArn": "The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
"RecommendationTemplate$recommendationTemplateArn": "The Amazon Resource Name (ARN) for the recommendation template.
",
- "RemoveDraftAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "RemoveDraftAppVersionResourceMappingsResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ResiliencyPolicy$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ResolveAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "ResolveAppVersionResourcesResponse$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "StartAppAssessmentRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
+ "RemoveDraftAppVersionResourceMappingsRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "RemoveDraftAppVersionResourceMappingsResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ResiliencyPolicy$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ResolveAppVersionResourcesRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "ResolveAppVersionResourcesResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "StartAppAssessmentRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
"TagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource.
",
"UntagResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource.
",
- "UpdateAppRequest$appArn": "The Amazon Resource Name (ARN) of the application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "UpdateAppRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
",
- "UpdateResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference.
"
+ "UpdateAppRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionAppComponentRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionAppComponentResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionResourceRequest$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionResourceResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateAppVersionResponse$appArn": "The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
",
+ "UpdateResiliencyPolicyRequest$policyArn": "The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
"
}
},
"ArnList": {
@@ -260,7 +345,7 @@
"base": null,
"refs": {
"AppAssessment$compliance": "The application compliance against the resiliency policy.
",
- "AppComponentCompliance$compliance": "The compliance of the application component against the resiliency policy.
",
+ "AppComponentCompliance$compliance": "The compliance of the Application Component against the resiliency policy.
",
"ConfigRecommendation$compliance": "The current compliance against the resiliency policy before applying the configuration change.
"
}
},
@@ -290,30 +375,41 @@
"AwsRegion": {
"base": null,
"refs": {
+ "CreateAppVersionResourceRequest$awsRegion": "The Amazon Web Services region that owns the physical resource.
",
+ "DeleteAppVersionResourceRequest$awsRegion": "The Amazon Web Services region that owns the physical resource.
",
+ "DescribeAppVersionResourceRequest$awsRegion": "The Amazon Web Services region that owns the physical resource.
",
"PhysicalResourceId$awsRegion": "The Amazon Web Services Region that the physical resource is located in.
",
- "RecommendationItem$targetRegion": "The target region.
"
+ "RecommendationItem$targetRegion": "The target region.
",
+ "UpdateAppVersionResourceRequest$awsRegion": "The Amazon Web Services region that owns the physical resource.
"
}
},
"BooleanOptional": {
"base": null,
"refs": {
- "DeleteAppRequest$forceDelete": "A boolean option to force the deletion of a Resilience Hub application.
",
+ "DeleteAppRequest$forceDelete": "A boolean option to force the deletion of an AWS Resilience Hub application.
",
"ListAppAssessmentsRequest$reverseOrder": "The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true
.
",
"ListRecommendationTemplatesRequest$reverseOrder": "The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to true
.
",
+ "PhysicalResource$excluded": "Indicates if a resource is included or excluded from the assessment.
",
"RecommendationItem$alreadyImplemented": "Specifies if the recommendation has already been implemented.
",
"RecommendationTemplate$needsReplacements": "Indicates if replacements are needed.
",
"ResourceErrorsDetails$hasMoreErrors": " This indicates if there are more errors not listed in the resourceErrors list.
",
- "UpdateAppRequest$clearResiliencyPolicyArn": "Specifies if the resiliency policy ARN should be cleared.
"
+ "UpdateAppRequest$clearResiliencyPolicyArn": "Specifies if the resiliency policy ARN should be cleared.
",
+ "UpdateAppVersionResourceRequest$excluded": "Indicates if a resource is excluded from an AWS Resilience Hub application.
You can exclude only imported resources from an AWS Resilience Hub application.
"
}
},
"ClientToken": {
"base": null,
"refs": {
"CreateAppRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
+ "CreateAppVersionAppComponentRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
+ "CreateAppVersionResourceRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"CreateRecommendationTemplateRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"CreateResiliencyPolicyRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"DeleteAppAssessmentRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
+ "DeleteAppInputSourceRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"DeleteAppRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
+ "DeleteAppVersionAppComponentRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
+ "DeleteAppVersionResourceRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"DeleteRecommendationTemplateRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"DeleteResiliencyPolicyRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
",
"StartAppAssessmentRequest$clientToken": "Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
"
@@ -333,11 +429,11 @@
"ComponentCompliancesList": {
"base": null,
"refs": {
- "ListAppComponentCompliancesResponse$componentCompliances": "The compliances for an AWS Resilience Hub application component, returned as an object. This object contains component names, compliances, costs, resiliency scores, outage scores, and more.
"
+ "ListAppComponentCompliancesResponse$componentCompliances": "The compliances for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.
"
}
},
"ComponentRecommendation": {
- "base": "Defines recommendations for a Resilience Hub application component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.
",
+ "base": "Defines recommendations for an AWS Resilience Hub Application Component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.
",
"refs": {
"ComponentRecommendationList$member": null
}
@@ -345,7 +441,7 @@
"ComponentRecommendationList": {
"base": null,
"refs": {
- "ListAppComponentRecommendationsResponse$componentRecommendations": "The recommendations for an Resilience Hub application component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.
"
+ "ListAppComponentRecommendationsResponse$componentRecommendations": "The recommendations for an AWS Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.
"
}
},
"ConfigRecommendation": {
@@ -367,7 +463,7 @@
}
},
"ConflictException": {
- "base": "Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
",
+ "base": "This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
",
"refs": {
}
},
@@ -396,6 +492,26 @@
"refs": {
}
},
+ "CreateAppVersionAppComponentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateAppVersionAppComponentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateAppVersionResourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateAppVersionResourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"CreateRecommendationTemplateRequest": {
"base": null,
"refs": {
@@ -425,8 +541,12 @@
"CustomerId": {
"base": null,
"refs": {
+ "CreateAppVersionResourceRequest$awsAccountId": "The Amazon Web Services account that owns the physical resource.
",
+ "DeleteAppVersionResourceRequest$awsAccountId": "The Amazon Web Services account that owns the physical resource.
",
+ "DescribeAppVersionResourceRequest$awsAccountId": "The Amazon Web Services account that owns the physical resource.
",
"PhysicalResourceId$awsAccountId": "The Amazon Web Services account that owns the physical resource.
",
- "RecommendationItem$targetAccountId": "The target account identifier.
"
+ "RecommendationItem$targetAccountId": "The target account identifier.
",
+ "UpdateAppVersionResourceRequest$awsAccountId": "The Amazon Web Services account that owns the physical resource.
"
}
},
"DataLocationConstraint": {
@@ -447,6 +567,16 @@
"refs": {
}
},
+ "DeleteAppInputSourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteAppInputSourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteAppRequest": {
"base": null,
"refs": {
@@ -457,6 +587,26 @@
"refs": {
}
},
+ "DeleteAppVersionAppComponentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteAppVersionAppComponentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteAppVersionResourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteAppVersionResourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DeleteRecommendationTemplateRequest": {
"base": null,
"refs": {
@@ -497,6 +647,31 @@
"refs": {
}
},
+ "DescribeAppVersionAppComponentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeAppVersionAppComponentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeAppVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeAppVersionResourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeAppVersionResourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeAppVersionResourcesResolutionStatusRequest": {
"base": null,
"refs": {
@@ -507,6 +682,11 @@
"refs": {
}
},
+ "DescribeAppVersionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeAppVersionTemplateRequest": {
"base": null,
"refs": {
@@ -603,12 +783,12 @@
"EntityId": {
"base": null,
"refs": {
- "AlarmRecommendation$appComponentName": "The application component for the CloudWatch alarm recommendation.
",
- "AppComponentCompliance$appComponentName": "The name of the application component.
",
- "ComponentRecommendation$appComponentName": "The name of the application component.
",
- "ConfigRecommendation$appComponentName": "The application component name.
",
- "SopRecommendation$appComponentName": "The application component name.
",
- "TestRecommendation$appComponentName": "The name of the application component.
"
+ "AlarmRecommendation$appComponentName": "The Application Component for the CloudWatch alarm recommendation.
",
+ "AppComponentCompliance$appComponentName": "The name of the Application Component.
",
+ "ComponentRecommendation$appComponentName": "The name of the Application Component.
",
+ "ConfigRecommendation$appComponentName": "The name of the Application Component.
",
+ "SopRecommendation$appComponentName": "The name of the Application Component.
",
+ "TestRecommendation$appComponentName": "The name of the Application Component.
"
}
},
"EntityName": {
@@ -620,9 +800,12 @@
"AppSummary$name": "The name of the application.
",
"ConfigRecommendation$name": "The name of the recommendation configuration.
",
"CreateAppRequest$name": "The name for the application.
",
+ "CreateAppVersionResourceRequest$resourceName": "The name of the resource.
",
"CreateRecommendationTemplateRequest$bucketName": "The name of the Amazon S3 bucket that will contain the recommendation template.
",
"CreateRecommendationTemplateRequest$name": "The name for the recommendation template.
",
"CreateResiliencyPolicyRequest$policyName": "The name of the policy
",
+ "DeleteAppVersionResourceRequest$resourceName": "The name of the resource.
",
+ "DescribeAppVersionResourceRequest$resourceName": "The name of the resource.
",
"EntityNameList$member": null,
"ListAppAssessmentsRequest$assessmentName": "The name for the assessment.
",
"ListAppsRequest$name": "The name for the one of the listed applications.
",
@@ -636,15 +819,16 @@
"ResourceMapping$resourceGroupName": "The name of the resource group this resource is mapped to.
",
"ResourceMapping$resourceName": "The name of the resource this resource is mapped to.
",
"StartAppAssessmentRequest$assessmentName": "The name for the assessment.
",
+ "UpdateAppVersionResourceRequest$resourceName": "The name of the resource.
",
"UpdateResiliencyPolicyRequest$policyName": "The name of the policy
"
}
},
"EntityNameList": {
"base": null,
"refs": {
- "RemoveDraftAppVersionResourceMappingsRequest$appRegistryAppNames": "The names of the registered applications to remove from the resource mappings.
",
- "RemoveDraftAppVersionResourceMappingsRequest$resourceGroupNames": "The names of the resource groups to remove from the resource mappings.
",
- "RemoveDraftAppVersionResourceMappingsRequest$resourceNames": "The names of the resources to remove from the resource mappings.
"
+ "RemoveDraftAppVersionResourceMappingsRequest$appRegistryAppNames": "The names of the registered applications you want to remove from the resource mappings.
",
+ "RemoveDraftAppVersionResourceMappingsRequest$resourceGroupNames": "The names of the resource groups you want to remove from the resource mappings.
",
+ "RemoveDraftAppVersionResourceMappingsRequest$resourceNames": "The names of the resources you want to remove from the resource mappings.
"
}
},
"EntityVersion": {
@@ -654,12 +838,25 @@
"AppAssessment$appVersion": "The version of the application.
",
"AppAssessmentSummary$appVersion": "The version of the application.
",
"AppVersionSummary$appVersion": "The version of the application.
",
+ "CreateAppVersionAppComponentResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "CreateAppVersionResourceResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "DeleteAppVersionAppComponentResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "DeleteAppVersionResourceResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "DescribeAppVersionAppComponentRequest$appVersion": "The AWS Resilience Hub application version.
",
+ "DescribeAppVersionAppComponentResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "DescribeAppVersionRequest$appVersion": "The AWS Resilience Hub application version.
",
+ "DescribeAppVersionResourceRequest$appVersion": "The AWS Resilience Hub application version.
",
+ "DescribeAppVersionResourceResponse$appVersion": "The AWS Resilience Hub application version.
",
"DescribeAppVersionResourcesResolutionStatusRequest$appVersion": "The version of the application.
",
"DescribeAppVersionResourcesResolutionStatusResponse$appVersion": "The version of the application.
",
+ "DescribeAppVersionResponse$appVersion": "The AWS Resilience Hub application version.
",
"DescribeAppVersionTemplateRequest$appVersion": "The version of the application.
",
"DescribeAppVersionTemplateResponse$appVersion": "The version of the application.
",
"DescribeDraftAppVersionResourcesImportStatusResponse$appVersion": "The version of the application.
",
"ImportResourcesToDraftAppVersionResponse$appVersion": "The version of the application.
",
+ "ListAppInputSourcesRequest$appVersion": "The AWS Resilience Hub application version.
",
+ "ListAppVersionAppComponentsRequest$appVersion": "The version of the Application Component.
",
+ "ListAppVersionAppComponentsResponse$appVersion": "The AWS Resilience Hub application version.
",
"ListAppVersionResourceMappingsRequest$appVersion": "The version of the application.
",
"ListAppVersionResourcesRequest$appVersion": "The version of the application.
",
"ListUnsupportedAppVersionResourcesRequest$appVersion": "The version of the application.
",
@@ -668,7 +865,10 @@
"RemoveDraftAppVersionResourceMappingsResponse$appVersion": "The version of the application.
",
"ResolveAppVersionResourcesRequest$appVersion": "The version of the application.
",
"ResolveAppVersionResourcesResponse$appVersion": "The version of the application.
",
- "StartAppAssessmentRequest$appVersion": "The version of the application.
"
+ "StartAppAssessmentRequest$appVersion": "The version of the application.
",
+ "UpdateAppVersionAppComponentResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "UpdateAppVersionResourceResponse$appVersion": "The AWS Resilience Hub application version.
",
+ "UpdateAppVersionResponse$appVersion": "The AWS Resilience Hub application version.
"
}
},
"ErrorMessage": {
@@ -705,6 +905,12 @@
"refs": {
}
},
+ "Integer": {
+ "base": null,
+ "refs": {
+ "AppInputSource$resourceCount": "The number of resources that were imported.
"
+ }
+ },
"InternalServerException": {
"base": "This exception occurs when there is an internal failure in the AWS Resilience Hub service.
",
"refs": {
@@ -750,6 +956,26 @@
"refs": {
}
},
+ "ListAppInputSourcesRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListAppInputSourcesResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListAppVersionAppComponentsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListAppVersionAppComponentsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListAppVersionResourceMappingsRequest": {
"base": null,
"refs": {
@@ -863,8 +1089,12 @@
"LogicalResourceId": {
"base": "Defines a logical resource identifier.
",
"refs": {
+ "CreateAppVersionResourceRequest$logicalResourceId": "The logical identifier of the resource.
",
+ "DeleteAppVersionResourceRequest$logicalResourceId": "The logical identifier of the resource.
",
+ "DescribeAppVersionResourceRequest$logicalResourceId": "The logical identifier of the resource.
",
"PhysicalResource$logicalResourceId": "The logical identifier of the resource.
",
- "UnsupportedResource$logicalResourceId": "The logical resource identifier for the unsupported resource.
"
+ "UnsupportedResource$logicalResourceId": "The logical resource identifier for the unsupported resource.
",
+ "UpdateAppVersionResourceRequest$logicalResourceId": "The logical identifier of the resource.
"
}
},
"MaxResults": {
@@ -874,6 +1104,8 @@
"ListAppAssessmentsRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
"ListAppComponentCompliancesRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
"ListAppComponentRecommendationsRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
+ "ListAppInputSourcesRequest$maxResults": "Maximum number of input sources to be displayed per AWS Resilience Hub application.
",
+ "ListAppVersionAppComponentsRequest$maxResults": "Maximum number of Application Components to be displayed per AWS Resilience Hub application version.
",
"ListAppVersionResourceMappingsRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
"ListAppVersionResourcesRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
"ListAppVersionsRequest$maxResults": "The maximum number of results to include in the response. If more results exist than the specified MaxResults
value, a token is included in the response so that the remaining results can be retrieved.
",
@@ -897,6 +1129,10 @@
"ListAppComponentCompliancesResponse$nextToken": "The token for the next set of results, or null if there are no more results.
",
"ListAppComponentRecommendationsRequest$nextToken": "Null, or the token from a previous call to get the next set of results.
",
"ListAppComponentRecommendationsResponse$nextToken": "The token for the next set of results, or null if there are no more results.
",
+ "ListAppInputSourcesRequest$nextToken": "Null, or the token from a previous call to get the next set of results.
",
+ "ListAppInputSourcesResponse$nextToken": "The token for the next set of results, or null if there are no more results.
",
+ "ListAppVersionAppComponentsRequest$nextToken": "Null, or the token from a previous call to get the next set of results.
",
+ "ListAppVersionAppComponentsResponse$nextToken": "The token for the next set of results, or null if there are no more results.
",
"ListAppVersionResourceMappingsRequest$nextToken": "Null, or the token from a previous call to get the next set of results.
",
"ListAppVersionResourceMappingsResponse$nextToken": "The token for the next set of results, or null if there are no more results.
",
"ListAppVersionResourcesRequest$nextToken": "Null, or the token from a previous call to get the next set of results.
",
@@ -922,13 +1158,17 @@
"PhysicalIdentifierType": {
"base": null,
"refs": {
- "PhysicalResourceId$type": "Specifies the type of physical resource identifier.
- Arn
-
The resource identifier is an Amazon Resource Name (ARN) .
- Native
-
The resource identifier is a Resilience Hub-native identifier.
"
+ "PhysicalResourceId$type": "Specifies the type of physical resource identifier.
- Arn
-
The resource identifier is an Amazon Resource Name (ARN) .
- Native
-
The resource identifier is an AWS Resilience Hub-native identifier.
"
}
},
"PhysicalResource": {
- "base": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
",
+ "base": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or an AWS Resilience Hub-native identifier.
",
"refs": {
- "PhysicalResourceList$member": null
+ "CreateAppVersionResourceResponse$physicalResource": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
",
+ "DeleteAppVersionResourceResponse$physicalResource": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
",
+ "DescribeAppVersionResourceResponse$physicalResource": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
",
+ "PhysicalResourceList$member": null,
+ "UpdateAppVersionResourceResponse$physicalResource": "Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
"
}
},
"PhysicalResourceId": {
@@ -1014,7 +1254,7 @@
"RecommendationTemplateList": {
"base": null,
"refs": {
- "ListRecommendationTemplatesResponse$recommendationTemplates": "The recommendation templates for the Resilience Hub applications.
"
+ "ListRecommendationTemplatesResponse$recommendationTemplates": "The recommendation templates for the AWS Resilience Hub applications.
"
}
},
"RecommendationTemplateStatus": {
@@ -1057,8 +1297,8 @@
"ResiliencyPolicies": {
"base": null,
"refs": {
- "ListResiliencyPoliciesResponse$resiliencyPolicies": "The resiliency policies for the Resilience Hub applications.
",
- "ListSuggestedResiliencyPoliciesResponse$resiliencyPolicies": "The suggested resiliency policies for the Resilience Hub applications.
"
+ "ListResiliencyPoliciesResponse$resiliencyPolicies": "The resiliency policies for the AWS Resilience Hub applications.
",
+ "ListSuggestedResiliencyPoliciesResponse$resiliencyPolicies": "The suggested resiliency policies for the AWS Resilience Hub applications.
"
}
},
"ResiliencyPolicy": {
@@ -1128,6 +1368,12 @@
"ImportResourcesToDraftAppVersionResponse$status": "The status of the action.
"
}
},
+ "ResourceImportStrategyType": {
+ "base": null,
+ "refs": {
+ "ImportResourcesToDraftAppVersionRequest$importStrategy": "The import strategy you would like to set to import resources into AWS Resilience Hub application.
"
+ }
+ },
"ResourceMapping": {
"base": "Defines a resource mapping.
",
"refs": {
@@ -1137,7 +1383,7 @@
"ResourceMappingList": {
"base": null,
"refs": {
- "AddDraftAppVersionResourceMappingsRequest$resourceMappings": " Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE
. We recommend using the mapping type CFN_STACK
if the application is backed by a CloudFormation stack.
",
+ "AddDraftAppVersionResourceMappingsRequest$resourceMappings": "Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE
. We recommend using the mapping type CFN_STACK
if the application is backed by a CloudFormation stack.
",
"AddDraftAppVersionResourceMappingsResponse$resourceMappings": "Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE
. We recommend using the mapping type CFN_STACK
if the application is backed by a CloudFormation stack.
",
"ListAppVersionResourceMappingsResponse$resourceMappings": "Mappings used to map logical resources from the template to physical resources. You can use the mapping type CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE
. We recommend using the mapping type CFN_STACK
if the application is backed by a CloudFormation stack.
"
}
@@ -1145,11 +1391,12 @@
"ResourceMappingType": {
"base": null,
"refs": {
+ "AppInputSource$importType": "The resource type of the input source.
",
"ResourceMapping$mappingType": "Specifies the type of resource mapping.
- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the appRegistryAppName
property.
- CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName
property.
- Resource
-
The resource is mapped to another resource. The name of the resource is contained in the resourceName
property.
- ResourceGroup
-
The resource is mapped to a resource group. The name of the resource group is contained in the resourceGroupName
property.
"
}
},
"ResourceNotFoundException": {
- "base": "The specified resource could not be found.
",
+ "base": "This exception occurs when the specified resource could not be found.
",
"refs": {
}
},
@@ -1199,7 +1446,7 @@
}
},
"ServiceQuotaExceededException": {
- "base": "You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
",
+ "base": "This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
",
"refs": {
}
},
@@ -1212,7 +1459,7 @@
"SopRecommendationList": {
"base": null,
"refs": {
- "ListSopRecommendationsResponse$sopRecommendations": "The standard operating procedure (SOP) recommendations for the Resilience Hub applications.
"
+ "ListSopRecommendationsResponse$sopRecommendations": "The standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.
"
}
},
"SopServiceType": {
@@ -1240,15 +1487,45 @@
"refs": {
}
},
+ "String1024": {
+ "base": null,
+ "refs": {
+ "AdditionalInfoValueList$member": null
+ }
+ },
+ "String128WithoutWhitespace": {
+ "base": null,
+ "refs": {
+ "AdditionalInfoMap$key": null
+ }
+ },
+ "String2048": {
+ "base": null,
+ "refs": {
+ "CreateAppVersionResourceRequest$physicalResourceId": "The physical identifier of the resource.
",
+ "DeleteAppVersionResourceRequest$physicalResourceId": "The physical identifier of the resource.
",
+ "DescribeAppVersionResourceRequest$physicalResourceId": "The physical identifier of the resource.
",
+ "UpdateAppVersionResourceRequest$physicalResourceId": "The physical identifier of the resource.
"
+ }
+ },
"String255": {
"base": null,
"refs": {
- "AppComponent$name": "The name of the application component.
",
- "AppComponent$type": "The type of application component.
",
+ "AppComponent$id": "Unique identifier of the Application Component.
",
+ "AppComponent$name": "The name of the Application Component.
",
+ "AppComponent$type": "The type of Application Component.
",
+ "AppComponentNameList$member": null,
+ "AppInputSource$sourceName": "The name of the input source.
",
+ "CreateAppVersionAppComponentRequest$id": "The identifier of the Application Component.
",
+ "CreateAppVersionAppComponentRequest$name": "The name of the Application Component.
",
+ "CreateAppVersionAppComponentRequest$type": "The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
",
+ "CreateAppVersionResourceRequest$resourceType": "The type of resource.
",
+ "DeleteAppVersionAppComponentRequest$id": "The identifier of the Application Component.
",
+ "DescribeAppVersionAppComponentRequest$id": "The identifier of the Application Component.
",
"DescribeAppVersionResourcesResolutionStatusRequest$resolutionId": "The identifier for a specific resolution.
",
"DescribeAppVersionResourcesResolutionStatusResponse$resolutionId": "The identifier for a specific resolution.
",
"ListAppVersionResourcesRequest$resolutionId": "The identifier for a specific resolution.
",
- "ListAppVersionResourcesResponse$resolutionId": "The identifier for a specific resolution.
",
+ "ListAppVersionResourcesResponse$resolutionId": "The ID for a specific resolution.
",
"ListUnsupportedAppVersionResourcesRequest$resolutionId": "The identifier for a specific resolution.
",
"ListUnsupportedAppVersionResourcesResponse$resolutionId": "The identifier for a specific resolution.
",
"LogicalResourceId$identifier": "The identifier of the resource.
",
@@ -1262,14 +1539,18 @@
"ResourceMapping$logicalStackName": "The name of the CloudFormation stack this resource is mapped to.
",
"ResourceMapping$terraformSourceName": " The short name of the Terraform source.
",
"String255List$member": null,
- "UnsupportedResource$resourceType": "The type of resource.
"
+ "UnsupportedResource$resourceType": "The type of resource.
",
+ "UpdateAppVersionAppComponentRequest$id": "The identifier of the Application Component.
",
+ "UpdateAppVersionAppComponentRequest$name": "The name of the Application Component.
",
+ "UpdateAppVersionAppComponentRequest$type": "The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
",
+ "UpdateAppVersionResourceRequest$resourceType": "The type of resource.
"
}
},
"String255List": {
"base": null,
"refs": {
- "RemoveDraftAppVersionResourceMappingsRequest$logicalStackNames": "The names of the CloudFormation stacks to remove from the resource mappings.
",
- "RemoveDraftAppVersionResourceMappingsRequest$terraformSourceNames": "
</p>
"
+ "RemoveDraftAppVersionResourceMappingsRequest$logicalStackNames": "The names of the CloudFormation stacks you want to remove from the resource mappings.
",
+ "RemoveDraftAppVersionResourceMappingsRequest$terraformSourceNames": "The names of the Terraform sources you want to remove from the resource mappings.
"
}
},
"String500": {
@@ -1323,7 +1604,7 @@
"TagKeyList": {
"base": null,
"refs": {
- "UntagResourceRequest$tagKeys": "The keys of the tags to remove.
"
+ "UntagResourceRequest$tagKeys": "The keys of the tags you want to remove.
"
}
},
"TagMap": {
@@ -1367,6 +1648,8 @@
"TerraformSource": {
"base": " The Terraform s3 state file you need to import.
",
"refs": {
+ "AppInputSource$terraformSource": "The name of the Terraform s3 state file.
",
+ "DeleteAppInputSourceRequest$terraformSource": "The imported Terraform s3 state file you want to remove from the AWS Resilience Hub application.
",
"TerraformSourceList$member": null
}
},
@@ -1386,7 +1669,7 @@
"TestRecommendationList": {
"base": null,
"refs": {
- "ListTestRecommendationsResponse$testRecommendations": "The test recommendations for the Resilience Hub application.
"
+ "ListTestRecommendationsResponse$testRecommendations": "The test recommendations for the AWS Resilience Hub application.
"
}
},
"TestRisk": {
@@ -1402,7 +1685,7 @@
}
},
"ThrottlingException": {
- "base": "The limit on the number of requests per second was exceeded.
",
+ "base": "This exception occurs when you have exceeded the limit on the number of requests per second.
",
"refs": {
}
},
@@ -1424,7 +1707,7 @@
}
},
"UnsupportedResource": {
- "base": "Defines a resource that is not supported by Resilience Hub.
",
+ "base": "Defines a resource that is not supported by AWS Resilience Hub.
",
"refs": {
"UnsupportedResourceList$member": null
}
@@ -1455,6 +1738,36 @@
"refs": {
}
},
+ "UpdateAppVersionAppComponentRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateAppVersionAppComponentResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateAppVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateAppVersionResourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateAppVersionResourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateAppVersionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"UpdateResiliencyPolicyRequest": {
"base": null,
"refs": {
@@ -1475,7 +1788,7 @@
}
},
"ValidationException": {
- "base": "Indicates that a request was not valid.
",
+ "base": "This exception occurs when a request is not valid.
",
"refs": {
}
}
diff --git a/models/apis/resiliencehub/2020-04-30/endpoint-rule-set-1.json b/models/apis/resiliencehub/2020-04-30/endpoint-rule-set-1.json
index 4b3afb58e79..5387f61cc97 100644
--- a/models/apis/resiliencehub/2020-04-30/endpoint-rule-set-1.json
+++ b/models/apis/resiliencehub/2020-04-30/endpoint-rule-set-1.json
@@ -32,13 +32,12 @@
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "isSet",
"argv": [
{
- "ref": "Region"
+ "ref": "Endpoint"
}
- ],
- "assign": "PartitionResult"
+ ]
}
],
"type": "tree",
@@ -46,23 +45,20 @@
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Endpoint"
- }
+ "ref": "UseFIPS"
+ },
+ true
]
- },
- {
- "fn": "parseURL",
- "argv": [
- {
- "ref": "Endpoint"
- }
- ],
- "assign": "url"
}
],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
"type": "tree",
"rules": [
{
@@ -71,67 +67,42 @@
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "ref": "UseDualStack"
},
true
]
}
],
- "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
},
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
- },
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
]
- },
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
{
"conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- },
- {
- "fn": "booleanEquals",
+ "fn": "isSet",
"argv": [
{
- "ref": "UseDualStack"
- },
- true
+ "ref": "Region"
+ }
]
}
],
@@ -140,90 +111,215 @@
{
"conditions": [
{
- "fn": "booleanEquals",
+ "fn": "aws.partition",
"argv": [
- true,
{
- "fn": "getAttr",
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsFIPS"
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
]
}
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://resiliencehub-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"
+ }
]
},
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsDualStack"
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
]
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
}
]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://resiliencehub-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": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
},
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseDualStack"
},
- "supportsFIPS"
+ true
]
}
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://resiliencehub.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
]
- }
- ],
- "type": "tree",
- "rules": [
+ },
{
"conditions": [],
"type": "tree",
@@ -231,7 +327,7 @@
{
"conditions": [],
"endpoint": {
- "url": "https://resiliencehub-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "url": "https://resiliencehub.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
@@ -240,74 +336,13 @@
]
}
]
- },
- {
- "conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://resiliencehub.{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://resiliencehub.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
diff --git a/models/apis/resiliencehub/2020-04-30/endpoint-tests-1.json b/models/apis/resiliencehub/2020-04-30/endpoint-tests-1.json
index dd7a4640ae6..3ba9e440afa 100644
--- a/models/apis/resiliencehub/2020-04-30/endpoint-tests-1.json
+++ b/models/apis/resiliencehub/2020-04-30/endpoint-tests-1.json
@@ -1,718 +1,185 @@
{
"testCases": [
{
- "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.ap-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "ap-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.ap-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "ap-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.ap-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "ap-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.ap-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "ap-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-south-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-south-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.ca-central-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "ca-central-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.ca-central-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "ca-central-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.ca-central-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "ca-central-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.ca-central-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "ca-central-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-central-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-central-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-central-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-central-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-central-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-central-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-central-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-central-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.us-west-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "us-west-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.us-west-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "us-west-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.us-west-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "us-west-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.us-west-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "us-west-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.us-west-2.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "us-west-2",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.us-west-2.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "us-west-2",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.us-west-2.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "us-west-2",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.us-west-2.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "us-west-2",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.af-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "af-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.af-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "af-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.af-south-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "af-south-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.af-south-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "af-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-north-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-north-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-north-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-north-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-north-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-north-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-north-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-north-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-west-3.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-west-3",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-west-3.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-west-3",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-west-3.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-west-3",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-west-3.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-west-3",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-west-2.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-west-2",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-west-2.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-west-2",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-west-2.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-west-2",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.eu-west-2.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "eu-west-2",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.eu-west-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "eu-west-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.eu-west-1.amazonaws.com"
+ "url": "https://resiliencehub.af-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "eu-west-1",
- "UseDualStack": false
+ "Region": "af-south-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.eu-west-1.api.aws"
+ "url": "https://resiliencehub.ap-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "eu-west-1",
- "UseDualStack": true
+ "Region": "ap-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.eu-west-1.amazonaws.com"
+ "url": "https://resiliencehub.ap-northeast-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "eu-west-1",
- "UseDualStack": false
+ "Region": "ap-northeast-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled",
+ "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-northeast-2.api.aws"
+ "url": "https://resiliencehub.ap-northeast-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
"Region": "ap-northeast-2",
- "UseDualStack": true
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled",
+ "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-northeast-2.amazonaws.com"
+ "url": "https://resiliencehub.ap-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-northeast-2",
- "UseDualStack": false
+ "Region": "ap-south-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled",
+ "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-northeast-2.api.aws"
+ "url": "https://resiliencehub.ap-southeast-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-northeast-2",
- "UseDualStack": true
+ "Region": "ap-southeast-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-northeast-2.amazonaws.com"
+ "url": "https://resiliencehub.ap-southeast-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-northeast-2",
- "UseDualStack": false
+ "Region": "ap-southeast-2",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-northeast-1.api.aws"
+ "url": "https://resiliencehub.ca-central-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-northeast-1",
- "UseDualStack": true
+ "Region": "ca-central-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-northeast-1.amazonaws.com"
+ "url": "https://resiliencehub.eu-central-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-northeast-1",
- "UseDualStack": false
+ "Region": "eu-central-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-northeast-1.api.aws"
+ "url": "https://resiliencehub.eu-north-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-northeast-1",
- "UseDualStack": true
+ "Region": "eu-north-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-northeast-1.amazonaws.com"
+ "url": "https://resiliencehub.eu-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-northeast-1",
- "UseDualStack": false
+ "Region": "eu-south-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region me-south-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.me-south-1.api.aws"
+ "url": "https://resiliencehub.eu-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "me-south-1",
- "UseDualStack": true
+ "Region": "eu-west-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region me-south-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.me-south-1.amazonaws.com"
+ "url": "https://resiliencehub.eu-west-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "me-south-1",
- "UseDualStack": false
+ "Region": "eu-west-2",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.me-south-1.api.aws"
+ "url": "https://resiliencehub.eu-west-3.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "me-south-1",
- "UseDualStack": true
+ "Region": "eu-west-3",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
@@ -723,48 +190,9 @@
}
},
"params": {
- "UseFIPS": false,
"Region": "me-south-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.sa-east-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "sa-east-1",
- "UseDualStack": true
- }
- },
- {
- "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub-fips.sa-east-1.amazonaws.com"
- }
- },
- "params": {
- "UseFIPS": true,
- "Region": "sa-east-1",
- "UseDualStack": false
- }
- },
- {
- "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled",
- "expect": {
- "endpoint": {
- "url": "https://resiliencehub.sa-east-1.api.aws"
- }
- },
- "params": {
- "UseFIPS": false,
- "Region": "sa-east-1",
- "UseDualStack": true
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
@@ -775,282 +203,282 @@
}
},
"params": {
- "UseFIPS": false,
"Region": "sa-east-1",
- "UseDualStack": false
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-east-1.api.aws"
+ "url": "https://resiliencehub.us-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-east-1",
- "UseDualStack": true
+ "Region": "us-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-east-1.amazonaws.com"
+ "url": "https://resiliencehub.us-east-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-east-1",
- "UseDualStack": false
+ "Region": "us-east-2",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-east-1.api.aws"
+ "url": "https://resiliencehub.us-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-east-1",
- "UseDualStack": true
+ "Region": "us-west-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-east-1.amazonaws.com"
+ "url": "https://resiliencehub.us-west-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-east-1",
- "UseDualStack": false
+ "Region": "us-west-2",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-southeast-1.api.aws"
+ "url": "https://resiliencehub-fips.us-east-1.api.aws"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-southeast-1",
- "UseDualStack": true
+ "Region": "us-east-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-southeast-1.amazonaws.com"
+ "url": "https://resiliencehub-fips.us-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-southeast-1",
- "UseDualStack": false
+ "Region": "us-east-1",
+ "UseDualStack": false,
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-southeast-1.api.aws"
+ "url": "https://resiliencehub.us-east-1.api.aws"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-southeast-1",
- "UseDualStack": true
+ "Region": "us-east-1",
+ "UseDualStack": true,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-southeast-1.amazonaws.com"
+ "url": "https://resiliencehub-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-southeast-1",
- "UseDualStack": false
+ "Region": "cn-north-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled",
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-southeast-2.api.aws"
+ "url": "https://resiliencehub-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-southeast-2",
- "UseDualStack": true
+ "Region": "cn-north-1",
+ "UseDualStack": false,
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled",
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.ap-southeast-2.amazonaws.com"
+ "url": "https://resiliencehub.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
- "UseFIPS": true,
- "Region": "ap-southeast-2",
- "UseDualStack": false
+ "Region": "cn-north-1",
+ "UseDualStack": true,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled",
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-southeast-2.api.aws"
+ "url": "https://resiliencehub.cn-north-1.amazonaws.com.cn"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-southeast-2",
- "UseDualStack": true
+ "Region": "cn-north-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.ap-southeast-2.amazonaws.com"
+ "url": "https://resiliencehub-fips.us-gov-east-1.api.aws"
}
},
"params": {
- "UseFIPS": false,
- "Region": "ap-southeast-2",
- "UseDualStack": false
+ "Region": "us-gov-east-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.us-east-1.api.aws"
+ "url": "https://resiliencehub-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "Region": "us-east-1",
- "UseDualStack": true
+ "Region": "us-gov-east-1",
+ "UseDualStack": false,
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.us-east-1.amazonaws.com"
+ "url": "https://resiliencehub.us-gov-east-1.api.aws"
}
},
"params": {
- "UseFIPS": true,
- "Region": "us-east-1",
- "UseDualStack": false
+ "Region": "us-gov-east-1",
+ "UseDualStack": true,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.us-east-1.api.aws"
+ "url": "https://resiliencehub.us-gov-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "us-east-1",
- "UseDualStack": true
+ "Region": "us-gov-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.us-east-1.amazonaws.com"
+ "url": "https://resiliencehub-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
- "UseFIPS": false,
- "Region": "us-east-1",
- "UseDualStack": false
+ "Region": "us-iso-east-1",
+ "UseDualStack": false,
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.us-east-2.api.aws"
+ "url": "https://resiliencehub.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
- "UseFIPS": true,
- "Region": "us-east-2",
- "UseDualStack": true
+ "Region": "us-iso-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub-fips.us-east-2.amazonaws.com"
+ "url": "https://resiliencehub-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
- "UseFIPS": true,
- "Region": "us-east-2",
- "UseDualStack": false
+ "Region": "us-isob-east-1",
+ "UseDualStack": false,
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.us-east-2.api.aws"
+ "url": "https://resiliencehub.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
- "UseFIPS": false,
- "Region": "us-east-2",
- "UseDualStack": true
+ "Region": "us-isob-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
- "url": "https://resiliencehub.us-east-2.amazonaws.com"
+ "url": "https://example.com"
}
},
"params": {
+ "Region": "us-east-1",
+ "UseDualStack": false,
"UseFIPS": false,
- "Region": "us-east-2",
- "UseDualStack": false
+ "Endpoint": "https://example.com"
}
},
{
- "documentation": "For custom endpoint with fips disabled and dualstack disabled",
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
- "UseFIPS": false,
- "Region": "us-east-1",
"UseDualStack": false,
+ "UseFIPS": false,
"Endpoint": "https://example.com"
}
},
@@ -1060,9 +488,9 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
- "UseFIPS": true,
"Region": "us-east-1",
"UseDualStack": false,
+ "UseFIPS": true,
"Endpoint": "https://example.com"
}
},
@@ -1072,9 +500,9 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
- "UseFIPS": false,
"Region": "us-east-1",
"UseDualStack": true,
+ "UseFIPS": false,
"Endpoint": "https://example.com"
}
}
diff --git a/models/apis/resiliencehub/2020-04-30/paginators-1.json b/models/apis/resiliencehub/2020-04-30/paginators-1.json
index 24cf4c73de6..ce7bf05b483 100644
--- a/models/apis/resiliencehub/2020-04-30/paginators-1.json
+++ b/models/apis/resiliencehub/2020-04-30/paginators-1.json
@@ -20,6 +20,16 @@
"output_token": "nextToken",
"limit_key": "maxResults"
},
+ "ListAppInputSources": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults"
+ },
+ "ListAppVersionAppComponents": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults"
+ },
"ListAppVersionResourceMappings": {
"input_token": "nextToken",
"output_token": "nextToken",
diff --git a/models/apis/securityhub/2018-10-26/docs-2.json b/models/apis/securityhub/2018-10-26/docs-2.json
index 1e08e436aaf..67ade228d21 100644
--- a/models/apis/securityhub/2018-10-26/docs-2.json
+++ b/models/apis/securityhub/2018-10-26/docs-2.json
@@ -32,7 +32,7 @@
"DisassociateMembers": "Disassociates the specified member accounts from the associated administrator account.
Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.
",
"EnableImportFindingsForProduct": "Enables the integration of a partner product with Security Hub. Integrated products send findings to Security Hub.
When you enable a product integration, a permissions policy that grants permission for the product to send findings to Security Hub is applied.
",
"EnableOrganizationAdminAccount": "Designates the Security Hub administrator account for an organization. Can only be called by the organization management account.
",
- "EnableSecurityHub": "Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the EnableSecurityHub
operation to enable Security Hub, you also automatically enable the following standards.
You do not enable the Payment Card Industry Data Security Standard (PCI DSS) standard.
To not enable the automatically enabled standards, set EnableDefaultStandards
to false
.
After you enable Security Hub, to enable a standard, use the BatchEnableStandards
operation. To disable a standard, use the BatchDisableStandards
operation.
To learn more, see the setup information in the Security Hub User Guide.
",
+ "EnableSecurityHub": "Enables Security Hub for your account in the current Region or the Region you specify in the request.
When you enable Security Hub, you grant to Security Hub the permissions necessary to gather findings from other services that are integrated with Security Hub.
When you use the EnableSecurityHub
operation to enable Security Hub, you also automatically enable the following standards:
Other standards are not automatically enabled.
To opt out of automatically enabled standards, set EnableDefaultStandards
to false
.
After you enable Security Hub, to enable a standard, use the BatchEnableStandards
operation. To disable a standard, use the BatchDisableStandards
operation.
To learn more, see the setup information in the Security Hub User Guide.
",
"GetAdministratorAccount": "Provides the details for the Security Hub administrator account for the current member account.
Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.
",
"GetEnabledStandards": "Returns a list of the standards that are currently enabled.
",
"GetFindingAggregator": "Returns the current finding aggregation configuration.
",
@@ -4055,16 +4055,16 @@
"DateFilterList": {
"base": null,
"refs": {
- "AwsSecurityFindingFilters$FirstObservedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured.
",
- "AwsSecurityFindingFilters$LastObservedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
",
- "AwsSecurityFindingFilters$CreatedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider captured the potential security issue that a finding captured.
",
- "AwsSecurityFindingFilters$UpdatedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record.
",
- "AwsSecurityFindingFilters$ProcessLaunchedAt": "The date/time that the process was launched.
",
- "AwsSecurityFindingFilters$ProcessTerminatedAt": "The date/time that the process was terminated.
",
- "AwsSecurityFindingFilters$ThreatIntelIndicatorLastObservedAt": "The date/time of the last observation of a threat intelligence indicator.
",
+ "AwsSecurityFindingFilters$FirstObservedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider first observed the potential security issue that a finding captured.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$LastObservedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$CreatedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider captured the potential security issue that a finding captured.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$UpdatedAt": "An ISO8601-formatted timestamp that indicates when the security-findings provider last updated the finding record.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$ProcessLaunchedAt": "A timestamp that identifies when the process was launched.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$ProcessTerminatedAt": "A timestamp that identifies when the process was terminated.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsSecurityFindingFilters$ThreatIntelIndicatorLastObservedAt": "A timestamp that identifies the last observation of a threat intelligence indicator.
",
"AwsSecurityFindingFilters$ResourceAwsEc2InstanceLaunchedAt": "The date and time the instance was launched.
",
"AwsSecurityFindingFilters$ResourceAwsIamAccessKeyCreatedAt": "The creation date/time of the IAM access key related to a finding.
",
- "AwsSecurityFindingFilters$ResourceContainerLaunchedAt": "The date/time that the container was started.
",
+ "AwsSecurityFindingFilters$ResourceContainerLaunchedAt": "A timestamp that identifies when the container was started.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
"AwsSecurityFindingFilters$NoteUpdatedAt": "The timestamp of when the note was updated.
"
}
},
@@ -4277,7 +4277,7 @@
"AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails$Min": " The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.
",
"AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails$Max": " The maximum amount of total local storage, in GB.
",
"AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails$Min": " The minimum amount of total local storage, in GB.
",
- "AwsKmsKeyDetails$CreationDate": "Indicates when the KMS key was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsKmsKeyDetails$CreationDate": "Indicates when the KMS key was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterRestoreStatus$CurrentRestoreRateInMegaBytesPerSecond": "The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.
This field is only updated when you restore to DC2 and DS2 node types.
",
"Cvss$BaseScore": "The base CVSS score.
",
"GeoLocation$Lon": "The longitude of the location.
",
@@ -5180,8 +5180,8 @@
"AwsApiCallAction$Api": "The name of the API method that was issued.
",
"AwsApiCallAction$ServiceName": "The name of the Amazon Web Services service that the API method belongs to.
",
"AwsApiCallAction$CallerType": "Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (domain
).
",
- "AwsApiCallAction$FirstSeen": "An ISO8601-formatted timestamp that indicates when the API call was first observed.
",
- "AwsApiCallAction$LastSeen": "An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
",
+ "AwsApiCallAction$FirstSeen": "An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "AwsApiCallAction$LastSeen": "An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
"AwsApiCallActionDomainDetails$Domain": "The name of the DNS domain that issued the API call.
",
"AwsApiGatewayAccessLogSettings$Format": "A single-line format of the access logs of data, as specified by selected $context
variables. The format must include at least $context.requestId
.
",
"AwsApiGatewayAccessLogSettings$DestinationArn": "The ARN of the CloudWatch Logs log group that receives the access logs.
",
@@ -5193,7 +5193,7 @@
"AwsApiGatewayRestApiDetails$Id": "The identifier of the REST API.
",
"AwsApiGatewayRestApiDetails$Name": "The name of the REST API.
",
"AwsApiGatewayRestApiDetails$Description": "A description of the REST API.
",
- "AwsApiGatewayRestApiDetails$CreatedDate": "Indicates when the API was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayRestApiDetails$CreatedDate": "Indicates when the API was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsApiGatewayRestApiDetails$Version": "The version identifier for the REST API.
",
"AwsApiGatewayRestApiDetails$ApiKeySource": "The source of the API key for metering requests according to a usage plan.
HEADER
indicates whether to read the API key from the X-API-Key header of a request.
AUTHORIZER
indicates whether to read the API key from the UsageIdentifierKey
from a custom authorizer.
",
"AwsApiGatewayStageDetails$DeploymentId": "The identifier of the deployment that the stage points to.
",
@@ -5203,13 +5203,13 @@
"AwsApiGatewayStageDetails$CacheClusterSize": "If a cache cluster is enabled, the size of the cache cluster.
",
"AwsApiGatewayStageDetails$CacheClusterStatus": "If a cache cluster is enabled, the status of the cache cluster.
",
"AwsApiGatewayStageDetails$DocumentationVersion": "The version of the API documentation that is associated with the stage.
",
- "AwsApiGatewayStageDetails$CreatedDate": "Indicates when the stage was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsApiGatewayStageDetails$LastUpdatedDate": "Indicates when the stage was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayStageDetails$CreatedDate": "Indicates when the stage was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayStageDetails$LastUpdatedDate": "Indicates when the stage was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsApiGatewayStageDetails$WebAclArn": "The ARN of the web ACL associated with the stage.
",
"AwsApiGatewayV2ApiDetails$ApiEndpoint": "The URI of the API.
Uses the format <api-id>.execute-api.<region>.amazonaws.com
The stage name is typically appended to the URI to form a complete path to a deployed API stage.
",
"AwsApiGatewayV2ApiDetails$ApiId": "The identifier of the API.
",
"AwsApiGatewayV2ApiDetails$ApiKeySelectionExpression": "An API key selection expression. Supported only for WebSocket APIs.
",
- "AwsApiGatewayV2ApiDetails$CreatedDate": "Indicates when the API was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayV2ApiDetails$CreatedDate": "Indicates when the API was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsApiGatewayV2ApiDetails$Description": "A description of the API.
",
"AwsApiGatewayV2ApiDetails$Version": "The version identifier for the API.
",
"AwsApiGatewayV2ApiDetails$Name": "The name of the API.
",
@@ -5217,16 +5217,16 @@
"AwsApiGatewayV2ApiDetails$RouteSelectionExpression": "The route selection expression for the API.
For HTTP APIs, must be ${request.method} ${request.path}
. This is the default value for HTTP APIs.
For WebSocket APIs, there is no default value.
",
"AwsApiGatewayV2RouteSettings$LoggingLevel": "The logging level. The logging level affects the log entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra informational events.
Valid values: OFF
| ERROR
| INFO
",
"AwsApiGatewayV2StageDetails$ClientCertificateId": "The identifier of a client certificate for a stage. Supported only for WebSocket API calls.
",
- "AwsApiGatewayV2StageDetails$CreatedDate": "Indicates when the stage was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayV2StageDetails$CreatedDate": "Indicates when the stage was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsApiGatewayV2StageDetails$Description": "The description of the stage.
",
"AwsApiGatewayV2StageDetails$DeploymentId": "The identifier of the deployment that the stage is associated with.
",
- "AwsApiGatewayV2StageDetails$LastUpdatedDate": "Indicates when the stage was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsApiGatewayV2StageDetails$LastUpdatedDate": "Indicates when the stage was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsApiGatewayV2StageDetails$StageName": "The name of the stage.
",
"AwsApiGatewayV2StageDetails$LastDeploymentStatusMessage": "The status of the last deployment of a stage. Supported only if the stage has automatic deployment enabled.
",
"AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails$Value": "The name of the Availability Zone.
",
"AwsAutoScalingAutoScalingGroupDetails$LaunchConfigurationName": "The name of the launch configuration.
",
"AwsAutoScalingAutoScalingGroupDetails$HealthCheckType": "The service to use for the health checks. Valid values are EC2
or ELB
.
",
- "AwsAutoScalingAutoScalingGroupDetails$CreatedTime": "Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsAutoScalingAutoScalingGroupDetails$CreatedTime": "Indicates when the auto scaling group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification$LaunchTemplateId": "The identifier of the launch template. You must specify either LaunchTemplateId
or LaunchTemplateName
.
",
"AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification$LaunchTemplateName": "The name of the launch template. You must specify either LaunchTemplateId
or LaunchTemplateName
.
",
"AwsAutoScalingAutoScalingGroupLaunchTemplateLaunchTemplateSpecification$Version": "Identifies the version of the launch template. You can specify a version identifier, or use the values $Latest
or $Default
.
",
@@ -5243,7 +5243,7 @@
"AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails$SnapshotId": "The snapshot ID of the volume to use.
You must specify either VolumeSize
or SnapshotId
.
",
"AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails$VolumeType": "The volume type. Valid values are as follows:
-
gp2
-
gp3
-
io1
-
sc1
-
st1
-
standard
",
"AwsAutoScalingLaunchConfigurationDetails$ClassicLinkVpcId": "The identifier of a ClassicLink-enabled VPC that EC2-Classic instances are linked to.
",
- "AwsAutoScalingLaunchConfigurationDetails$CreatedTime": "The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsAutoScalingLaunchConfigurationDetails$CreatedTime": "The creation date and time for the launch configuration.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsAutoScalingLaunchConfigurationDetails$IamInstanceProfile": "The name or the ARN of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role.
",
"AwsAutoScalingLaunchConfigurationDetails$ImageId": "The identifier of the Amazon Machine Image (AMI) that is used to launch EC2 instances.
",
"AwsAutoScalingLaunchConfigurationDetails$InstanceType": "The instance type for the instances.
",
@@ -5292,15 +5292,15 @@
"AwsBackupRecoveryPointDetails$StatusMessage": "A message explaining the reason of the recovery point deletion failure.
",
"AwsBackupRecoveryPointDetails$StorageClass": "Specifies the storage class of the recovery point. Valid values are as follows:
",
"AwsCertificateManagerCertificateDetails$CertificateAuthorityArn": "The ARN of the private certificate authority (CA) that will be used to issue the certificate.
",
- "AwsCertificateManagerCertificateDetails$CreatedAt": "Indicates when the certificate was requested.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateDetails$CreatedAt": "Indicates when the certificate was requested.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsCertificateManagerCertificateDetails$DomainName": "The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
",
"AwsCertificateManagerCertificateDetails$FailureReason": "For a failed certificate request, the reason for the failure.
Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
| DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
",
- "AwsCertificateManagerCertificateDetails$ImportedAt": "Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsCertificateManagerCertificateDetails$IssuedAt": "Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateDetails$ImportedAt": "Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateDetails$IssuedAt": "Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsCertificateManagerCertificateDetails$Issuer": "The name of the certificate authority that issued and signed the certificate.
",
"AwsCertificateManagerCertificateDetails$KeyAlgorithm": "The algorithm that was used to generate the public-private key pair.
Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
| EC_secp384r1
| EC_secp521r1
",
- "AwsCertificateManagerCertificateDetails$NotAfter": "The time after which the certificate becomes invalid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsCertificateManagerCertificateDetails$NotBefore": "The time before which the certificate is not valid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateDetails$NotAfter": "The time after which the certificate becomes invalid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateDetails$NotBefore": "The time before which the certificate is not valid.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsCertificateManagerCertificateDetails$RenewalEligibility": "Whether the certificate is eligible for renewal.
Valid values: ELIGIBLE
| INELIGIBLE
",
"AwsCertificateManagerCertificateDetails$Serial": "The serial number of the certificate.
",
"AwsCertificateManagerCertificateDetails$SignatureAlgorithm": "The algorithm that was used to sign the certificate.
",
@@ -5317,7 +5317,7 @@
"AwsCertificateManagerCertificateOptions$CertificateTransparencyLoggingPreference": "Whether to add the certificate to a transparency log.
Valid values: DISABLED
| ENABLED
",
"AwsCertificateManagerCertificateRenewalSummary$RenewalStatus": "The status of the Certificate Manager managed renewal of the certificate.
Valid values: PENDING_AUTO_RENEWAL
| PENDING_VALIDATION
| SUCCESS
| FAILED
",
"AwsCertificateManagerCertificateRenewalSummary$RenewalStatusReason": "The reason that a renewal request was unsuccessful. This attribute is used only when RenewalStatus
is FAILED
.
Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
| DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
",
- "AwsCertificateManagerCertificateRenewalSummary$UpdatedAt": "Indicates when the renewal summary was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCertificateManagerCertificateRenewalSummary$UpdatedAt": "Indicates when the renewal summary was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsCertificateManagerCertificateResourceRecord$Name": "The name of the resource.
",
"AwsCertificateManagerCertificateResourceRecord$Type": "The type of resource.
",
"AwsCertificateManagerCertificateResourceRecord$Value": "The value of the resource.
",
@@ -5338,7 +5338,7 @@
"AwsCloudFrontDistributionDetails$DefaultRootObject": "The object that CloudFront sends in response to requests from the origin (for example, index.html) when a viewer requests the root URL for the distribution (http://www.example.com) instead of an object in your distribution (http://www.example.com/product-description.html).
",
"AwsCloudFrontDistributionDetails$DomainName": "The domain name corresponding to the distribution.
",
"AwsCloudFrontDistributionDetails$ETag": "The entity tag is a hash of the object.
",
- "AwsCloudFrontDistributionDetails$LastModifiedTime": "Indicates when that the distribution was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsCloudFrontDistributionDetails$LastModifiedTime": "Indicates when that the distribution was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsCloudFrontDistributionDetails$Status": "Indicates the current status of the distribution.
",
"AwsCloudFrontDistributionDetails$WebAclId": "A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution.
",
"AwsCloudFrontDistributionLogging$Bucket": "The S3 bucket to store the access logs in.
",
@@ -5408,8 +5408,8 @@
"AwsDynamoDbTableAttributeDefinition$AttributeName": "The name of the attribute.
",
"AwsDynamoDbTableAttributeDefinition$AttributeType": "The type of the attribute.
",
"AwsDynamoDbTableBillingModeSummary$BillingMode": "The method used to charge for read and write throughput and to manage capacity.
",
- "AwsDynamoDbTableBillingModeSummary$LastUpdateToPayPerRequestDateTime": "If the billing mode is PAY_PER_REQUEST
, indicates when the billing mode was set to that value.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsDynamoDbTableDetails$CreationDateTime": "Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableBillingModeSummary$LastUpdateToPayPerRequestDateTime": "If the billing mode is PAY_PER_REQUEST
, indicates when the billing mode was set to that value.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableDetails$CreationDateTime": "Indicates when the table was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsDynamoDbTableDetails$GlobalTableVersion": "The version of global tables being used.
",
"AwsDynamoDbTableDetails$LatestStreamArn": "The ARN of the latest stream for the table.
",
"AwsDynamoDbTableDetails$LatestStreamLabel": "The label of the latest stream. The label is not a unique identifier.
",
@@ -5424,8 +5424,8 @@
"AwsDynamoDbTableLocalSecondaryIndex$IndexArn": "The ARN of the index.
",
"AwsDynamoDbTableLocalSecondaryIndex$IndexName": "The name of the index.
",
"AwsDynamoDbTableProjection$ProjectionType": "The types of attributes that are projected into the index. Valid values are as follows:
",
- "AwsDynamoDbTableProvisionedThroughput$LastDecreaseDateTime": "Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsDynamoDbTableProvisionedThroughput$LastIncreaseDateTime": "Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableProvisionedThroughput$LastDecreaseDateTime": "Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableProvisionedThroughput$LastIncreaseDateTime": "Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsDynamoDbTableReplica$KmsMasterKeyId": "The identifier of the KMS key that will be used for KMS encryption for the replica.
",
"AwsDynamoDbTableReplica$RegionName": "The name of the Region where the replica is located.
",
"AwsDynamoDbTableReplica$ReplicaStatus": "The current status of the replica. Valid values are as follows:
-
ACTIVE
-
CREATING
-
CREATION_FAILED
-
DELETING
-
UPDATING
",
@@ -5433,8 +5433,8 @@
"AwsDynamoDbTableReplicaGlobalSecondaryIndex$IndexName": "The name of the index.
",
"AwsDynamoDbTableRestoreSummary$SourceBackupArn": "The ARN of the source backup from which the table was restored.
",
"AwsDynamoDbTableRestoreSummary$SourceTableArn": "The ARN of the source table for the backup.
",
- "AwsDynamoDbTableRestoreSummary$RestoreDateTime": "Indicates the point in time that the table was restored to.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsDynamoDbTableSseDescription$InaccessibleEncryptionDateTime": "If the key is inaccessible, the date and time when DynamoDB detected that the key was inaccessible.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableRestoreSummary$RestoreDateTime": "Indicates the point in time that the table was restored to.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsDynamoDbTableSseDescription$InaccessibleEncryptionDateTime": "If the key is inaccessible, the date and time when DynamoDB detected that the key was inaccessible.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsDynamoDbTableSseDescription$Status": "The status of the server-side encryption.
",
"AwsDynamoDbTableSseDescription$SseType": "The type of server-side encryption.
",
"AwsDynamoDbTableSseDescription$KmsMasterKeyArn": "The ARN of the KMS key that is used for the KMS encryption.
",
@@ -5455,7 +5455,7 @@
"AwsEc2InstanceDetails$IamInstanceProfileArn": "The IAM profile ARN of the instance.
",
"AwsEc2InstanceDetails$VpcId": "The identifier of the VPC that the instance was launched in.
",
"AwsEc2InstanceDetails$SubnetId": "The identifier of the subnet that the instance was launched in.
",
- "AwsEc2InstanceDetails$LaunchedAt": "Indicates when the instance was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsEc2InstanceDetails$LaunchedAt": "Indicates when the instance was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsEc2InstanceDetails$VirtualizationType": "The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
",
"AwsEc2InstanceMetadataOptions$HttpEndpoint": "Enables or disables the HTTP metadata endpoint on the instance.
",
"AwsEc2InstanceMetadataOptions$HttpProtocolIpv6": "Enables or disables the IPv6 endpoint for the instance metadata service.
",
@@ -5526,7 +5526,7 @@
"AwsEc2NetworkAclEntry$Ipv6CidrBlock": "The IPV6 network range for which to deny or allow access.
",
"AwsEc2NetworkAclEntry$Protocol": "The protocol that the rule applies to. To deny or allow access to all protocols, use the value -1
.
",
"AwsEc2NetworkAclEntry$RuleAction": "Whether the rule is used to allow access or deny access.
",
- "AwsEc2NetworkInterfaceAttachment$AttachTime": "Indicates when the attachment initiated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsEc2NetworkInterfaceAttachment$AttachTime": "Indicates when the attachment initiated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsEc2NetworkInterfaceAttachment$AttachmentId": "The identifier of the network interface attachment
",
"AwsEc2NetworkInterfaceAttachment$InstanceId": "The ID of the instance.
",
"AwsEc2NetworkInterfaceAttachment$InstanceOwnerId": "The Amazon Web Services account ID of the owner of the instance.
",
@@ -5574,7 +5574,7 @@
"AwsEc2VolumeAttachment$AttachTime": "The datetime when the attachment initiated.
",
"AwsEc2VolumeAttachment$InstanceId": "The identifier of the EC2 instance.
",
"AwsEc2VolumeAttachment$Status": "The attachment state of the volume. Valid values are as follows:
-
attaching
-
attached
-
busy
-
detaching
-
detached
",
- "AwsEc2VolumeDetails$CreateTime": "Indicates when the volume was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsEc2VolumeDetails$CreateTime": "Indicates when the volume was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsEc2VolumeDetails$DeviceName": "The device name for the volume that is attached to the instance.
",
"AwsEc2VolumeDetails$SnapshotId": "The snapshot from which the volume was created.
",
"AwsEc2VolumeDetails$Status": "The volume state. Valid values are as follows:
-
available
-
creating
-
deleted
-
deleting
-
error
-
in-use
",
@@ -5611,7 +5611,7 @@
"AwsEc2VpnConnectionRoutesDetails$DestinationCidrBlock": "The CIDR block associated with the local subnet of the customer data center.
",
"AwsEc2VpnConnectionRoutesDetails$State": "The current state of the static route.
",
"AwsEc2VpnConnectionVgwTelemetryDetails$CertificateArn": "The ARN of the VPN tunnel endpoint certificate.
",
- "AwsEc2VpnConnectionVgwTelemetryDetails$LastStatusChange": "The date and time of the last change in status.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsEc2VpnConnectionVgwTelemetryDetails$LastStatusChange": "The date and time of the last change in status.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsEc2VpnConnectionVgwTelemetryDetails$OutsideIpAddress": "The Internet-routable IP address of the virtual private gateway's outside interface.
",
"AwsEc2VpnConnectionVgwTelemetryDetails$Status": "The status of the VPN tunnel. Valid values are DOWN
or UP
.
",
"AwsEc2VpnConnectionVgwTelemetryDetails$StatusMessage": "If an error occurs, a description of the error.
",
@@ -5619,7 +5619,7 @@
"AwsEcrContainerImageDetails$RepositoryName": "The name of the repository that the image belongs to.
",
"AwsEcrContainerImageDetails$Architecture": "The architecture of the image. Valid values are as follows:
",
"AwsEcrContainerImageDetails$ImageDigest": "The sha256 digest of the image manifest.
",
- "AwsEcrContainerImageDetails$ImagePublishedAt": "The date and time when the image was pushed to the repository.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsEcrContainerImageDetails$ImagePublishedAt": "The date and time when the image was pushed to the repository.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsEcrRepositoryDetails$Arn": "The ARN of the repository.
",
"AwsEcrRepositoryDetails$ImageTagMutability": "The tag mutability setting for the repository. Valid values are IMMUTABLE
or MUTABLE
.
",
"AwsEcrRepositoryDetails$RepositoryName": "The name of the repository.
",
@@ -5791,7 +5791,7 @@
"AwsElbLoadBalancerAdditionalAttribute$Value": "The value of the attribute.
",
"AwsElbLoadBalancerDetails$CanonicalHostedZoneName": "The name of the Amazon Route 53 hosted zone for the load balancer.
",
"AwsElbLoadBalancerDetails$CanonicalHostedZoneNameID": "The ID of the Amazon Route 53 hosted zone for the load balancer.
",
- "AwsElbLoadBalancerDetails$CreatedTime": "Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsElbLoadBalancerDetails$CreatedTime": "Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsElbLoadBalancerDetails$DnsName": "The DNS name of the load balancer.
",
"AwsElbLoadBalancerDetails$LoadBalancerName": "The name of the load balancer.
",
"AwsElbLoadBalancerDetails$Scheme": "The type of load balancer. Only provided if the load balancer is in a VPC.
If Scheme
is internet-facing
, the load balancer has a public DNS name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a public DNS name that resolves to a private IP address.
",
@@ -5806,20 +5806,20 @@
"AwsElbv2LoadBalancerAttribute$Key": "The name of the load balancer attribute.
",
"AwsElbv2LoadBalancerAttribute$Value": "The value of the load balancer attribute.
",
"AwsElbv2LoadBalancerDetails$CanonicalHostedZoneId": "The ID of the Amazon Route 53 hosted zone associated with the load balancer.
",
- "AwsElbv2LoadBalancerDetails$CreatedTime": "Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsElbv2LoadBalancerDetails$CreatedTime": "Indicates when the load balancer was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsElbv2LoadBalancerDetails$DNSName": "The public DNS name of the load balancer.
",
"AwsElbv2LoadBalancerDetails$IpAddressType": "The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
",
"AwsElbv2LoadBalancerDetails$Scheme": "The nodes of an Internet-facing load balancer have public IP addresses.
",
"AwsElbv2LoadBalancerDetails$Type": "The type of load balancer.
",
"AwsElbv2LoadBalancerDetails$VpcId": "The ID of the VPC for the load balancer.
",
"AwsIamAccessKeyDetails$UserName": "The user associated with the IAM access key related to a finding.
The UserName
parameter has been replaced with the PrincipalName
parameter because access keys can also be assigned to principals that are not IAM users.
",
- "AwsIamAccessKeyDetails$CreatedAt": "Indicates when the IAM access key was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamAccessKeyDetails$CreatedAt": "Indicates when the IAM access key was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamAccessKeyDetails$PrincipalId": "The ID of the principal associated with an access key.
",
"AwsIamAccessKeyDetails$PrincipalType": "The type of principal associated with an access key.
",
"AwsIamAccessKeyDetails$PrincipalName": "The name of the principal.
",
"AwsIamAccessKeyDetails$AccountId": "The Amazon Web Services account ID of the account for the key.
",
"AwsIamAccessKeyDetails$AccessKeyId": "The identifier of the access key.
",
- "AwsIamAccessKeySessionContextAttributes$CreationDate": "Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamAccessKeySessionContextAttributes$CreationDate": "Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamAccessKeySessionContextSessionIssuer$Type": "The type of principal (user, role, or group) that created the session.
",
"AwsIamAccessKeySessionContextSessionIssuer$PrincipalId": "The principal ID of the principal (user, role, or group) that created the session.
",
"AwsIamAccessKeySessionContextSessionIssuer$Arn": "The ARN of the session.
",
@@ -5827,38 +5827,38 @@
"AwsIamAccessKeySessionContextSessionIssuer$UserName": "The name of the principal that created the session.
",
"AwsIamAttachedManagedPolicy$PolicyName": "The name of the policy.
",
"AwsIamAttachedManagedPolicy$PolicyArn": "The ARN of the policy.
",
- "AwsIamGroupDetails$CreateDate": "Indicates when the IAM group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamGroupDetails$CreateDate": "Indicates when the IAM group was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamGroupDetails$GroupId": "The identifier of the IAM group.
",
"AwsIamGroupDetails$GroupName": "The name of the IAM group.
",
"AwsIamGroupDetails$Path": "The path to the group.
",
"AwsIamGroupPolicy$PolicyName": "The name of the policy.
",
"AwsIamInstanceProfile$Arn": "The ARN of the instance profile.
",
- "AwsIamInstanceProfile$CreateDate": "Indicates when the instance profile was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamInstanceProfile$CreateDate": "Indicates when the instance profile was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamInstanceProfile$InstanceProfileId": "The identifier of the instance profile.
",
"AwsIamInstanceProfile$InstanceProfileName": "The name of the instance profile.
",
"AwsIamInstanceProfile$Path": "The path to the instance profile.
",
"AwsIamInstanceProfileRole$Arn": "The ARN of the role.
",
- "AwsIamInstanceProfileRole$CreateDate": "Indicates when the role was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamInstanceProfileRole$CreateDate": "Indicates when the role was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamInstanceProfileRole$Path": "The path to the role.
",
"AwsIamInstanceProfileRole$RoleId": "The identifier of the role.
",
"AwsIamInstanceProfileRole$RoleName": "The name of the role.
",
"AwsIamPermissionsBoundary$PermissionsBoundaryArn": "The ARN of the policy used to set the permissions boundary.
",
"AwsIamPermissionsBoundary$PermissionsBoundaryType": "The usage type for the permissions boundary.
",
- "AwsIamPolicyDetails$CreateDate": "When the policy was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamPolicyDetails$CreateDate": "When the policy was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamPolicyDetails$DefaultVersionId": "The identifier of the default version of the policy.
",
"AwsIamPolicyDetails$Description": "A description of the policy.
",
"AwsIamPolicyDetails$Path": "The path to the policy.
",
"AwsIamPolicyDetails$PolicyId": "The unique identifier of the policy.
",
"AwsIamPolicyDetails$PolicyName": "The name of the policy.
",
- "AwsIamPolicyDetails$UpdateDate": "When the policy was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamPolicyDetails$UpdateDate": "When the policy was most recently updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamPolicyVersion$VersionId": "The identifier of the policy version.
",
- "AwsIamPolicyVersion$CreateDate": "Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsIamRoleDetails$CreateDate": "Indicates when the role was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamPolicyVersion$CreateDate": "Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamRoleDetails$CreateDate": "Indicates when the role was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamRoleDetails$RoleId": "The stable and unique string identifying the role.
",
"AwsIamRoleDetails$RoleName": "The friendly name that identifies the role.
",
"AwsIamRoleDetails$Path": "The path to the role.
",
"AwsIamRolePolicy$PolicyName": "The name of the policy.
",
- "AwsIamUserDetails$CreateDate": "Indicates when the user was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsIamUserDetails$CreateDate": "Indicates when the user was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsIamUserDetails$Path": "The path to the user.
",
"AwsIamUserDetails$UserId": "The unique identifier for the user.
",
"AwsIamUserDetails$UserName": "The name of the user.
",
@@ -5882,7 +5882,7 @@
"AwsLambdaFunctionDetails$FunctionName": "The name of the function.
",
"AwsLambdaFunctionDetails$Handler": "The function that Lambda calls to begin executing your function.
",
"AwsLambdaFunctionDetails$KmsKeyArn": "The KMS key that is used to encrypt the function's environment variables. This key is only returned if you've configured a customer managed customer managed key.
",
- "AwsLambdaFunctionDetails$LastModified": "Indicates when the function was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsLambdaFunctionDetails$LastModified": "Indicates when the function was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsLambdaFunctionDetails$MasterArn": "For Lambda@Edge functions, the ARN of the master function.
",
"AwsLambdaFunctionDetails$RevisionId": "The latest updated revision of the function or alias.
",
"AwsLambdaFunctionDetails$Role": "The function's execution role.
",
@@ -5894,7 +5894,7 @@
"AwsLambdaFunctionLayer$Arn": "The ARN of the function layer.
",
"AwsLambdaFunctionTracingConfig$Mode": "The tracing mode.
",
"AwsLambdaFunctionVpcConfig$VpcId": "The ID of the VPC.
",
- "AwsLambdaLayerVersionDetails$CreatedDate": "Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsLambdaLayerVersionDetails$CreatedDate": "Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsMountPoint$SourceVolume": "The name of the volume to mount. Must be a volume name referenced in the name
parameter of task definition volume
.
",
"AwsMountPoint$ContainerPath": "The path on the container to mount the host volume at.
",
"AwsNetworkFirewallFirewallDetails$Description": "A description of the firewall.
",
@@ -5949,7 +5949,7 @@
"AwsRdsDbClusterDetails$HostedZoneId": "Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone.
",
"AwsRdsDbClusterDetails$KmsKeyId": "The ARN of the KMS master key that is used to encrypt the database instances in the DB cluster.
",
"AwsRdsDbClusterDetails$DbClusterResourceId": "The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region and is immutable.
",
- "AwsRdsDbClusterDetails$ClusterCreateTime": "Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsDbClusterDetails$ClusterCreateTime": "Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRdsDbClusterDetails$EngineMode": "The database engine mode of the DB cluster.Valid values are as follows:
-
global
-
multimaster
-
parallelquery
-
provisioned
-
serverless
",
"AwsRdsDbClusterDetails$ActivityStreamStatus": "The status of the database activity stream. Valid values are as follows:
-
started
-
starting
-
stopped
-
stopping
",
"AwsRdsDbClusterDetails$DbClusterParameterGroup": "The name of the DB cluster parameter group for the DB cluster.
",
@@ -5959,11 +5959,11 @@
"AwsRdsDbClusterMember$DbClusterParameterGroupStatus": "The status of the DB cluster parameter group for this member of the DB cluster.
",
"AwsRdsDbClusterOptionGroupMembership$DbClusterOptionGroupName": "The name of the DB cluster option group.
",
"AwsRdsDbClusterOptionGroupMembership$Status": "The status of the DB cluster option group.
",
- "AwsRdsDbClusterSnapshotDetails$SnapshotCreateTime": "Indicates when the snapshot was taken.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsDbClusterSnapshotDetails$SnapshotCreateTime": "Indicates when the snapshot was taken.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRdsDbClusterSnapshotDetails$Engine": "The name of the database engine that you want to use for this DB instance.
",
"AwsRdsDbClusterSnapshotDetails$Status": "The status of this DB cluster snapshot.
",
"AwsRdsDbClusterSnapshotDetails$VpcId": "The VPC ID that is associated with the DB cluster snapshot.
",
- "AwsRdsDbClusterSnapshotDetails$ClusterCreateTime": "Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsDbClusterSnapshotDetails$ClusterCreateTime": "Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRdsDbClusterSnapshotDetails$MasterUsername": "The name of the master user for the DB cluster.
",
"AwsRdsDbClusterSnapshotDetails$EngineVersion": "The version of the database engine to use.
",
"AwsRdsDbClusterSnapshotDetails$LicenseModel": "The license model information for this DB cluster snapshot.
",
@@ -5986,7 +5986,7 @@
"AwsRdsDbInstanceDetails$DBName": "The meaning of this parameter differs according to the database engine you use.
MySQL, MariaDB, SQL Server, PostgreSQL
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
Oracle
Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not apply to an Oracle DB instance.
",
"AwsRdsDbInstanceDetails$Engine": "Provides the name of the database engine to use for this DB instance.
",
"AwsRdsDbInstanceDetails$EngineVersion": "Indicates the database engine version.
",
- "AwsRdsDbInstanceDetails$InstanceCreateTime": "Indicates when the DB instance was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsDbInstanceDetails$InstanceCreateTime": "Indicates when the DB instance was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRdsDbInstanceDetails$KmsKeyId": "If StorageEncrypted
is true, the KMS key identifier for the encrypted DB instance.
",
"AwsRdsDbInstanceDetails$TdeCredentialArn": "The ARN from the key store with which the instance is associated for TDE encryption.
",
"AwsRdsDbInstanceDetails$EnhancedMonitoringResourceArn": "The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics data for the DB instance.
",
@@ -5995,7 +5995,7 @@
"AwsRdsDbInstanceDetails$PreferredBackupWindow": "The range of time each day when automated backups are created, if automated backups are enabled.
Uses the format HH:MM-HH:MM
. For example, 04:52-05:22
.
",
"AwsRdsDbInstanceDetails$AvailabilityZone": "The Availability Zone where the DB instance will be created.
",
"AwsRdsDbInstanceDetails$PreferredMaintenanceWindow": "The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Uses the format <day>:HH:MM-<day>:HH:MM
.
For the day values, use mon
|tue
|wed
|thu
|fri
|sat
|sun
.
For example, sun:09:32-sun:10:02
.
",
- "AwsRdsDbInstanceDetails$LatestRestorableTime": "Specifies the latest time to which a database can be restored with point-in-time restore.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsDbInstanceDetails$LatestRestorableTime": "Specifies the latest time to which a database can be restored with point-in-time restore.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRdsDbInstanceDetails$ReadReplicaSourceDBInstanceIdentifier": "If this DB instance is a read replica, contains the identifier of the source DB instance.
",
"AwsRdsDbInstanceDetails$LicenseModel": "License model information for this DB instance.
",
"AwsRdsDbInstanceDetails$CharacterSetName": "The name of the character set that this DB instance is associated with.
",
@@ -6070,7 +6070,7 @@
"AwsRdsEventSubscriptionDetails$SnsTopicArn": "The ARN of the SNS topic to post the event notifications to.
",
"AwsRdsEventSubscriptionDetails$SourceType": "The source type for the event notification subscription.
",
"AwsRdsEventSubscriptionDetails$Status": "The status of the event notification subscription.
Valid values: creating
| modifying
| deleting
| active
| no-permission
| topic-not-exist
",
- "AwsRdsEventSubscriptionDetails$SubscriptionCreationTime": "The datetime when the event notification subscription was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRdsEventSubscriptionDetails$SubscriptionCreationTime": "The datetime when the event notification subscription was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterClusterNode$NodeRole": "The role of the node. A node might be a leader node or a compute node.
",
"AwsRedshiftClusterClusterNode$PrivateIpAddress": "The private IP address of the node.
",
"AwsRedshiftClusterClusterNode$PublicIpAddress": "The public IP address of the node.
",
@@ -6083,12 +6083,12 @@
"AwsRedshiftClusterClusterSecurityGroup$Status": "The status of the cluster security group.
",
"AwsRedshiftClusterClusterSnapshotCopyStatus$DestinationRegion": "The destination Region that snapshots are automatically copied to when cross-Region snapshot copy is enabled.
",
"AwsRedshiftClusterClusterSnapshotCopyStatus$SnapshotCopyGrantName": "The name of the snapshot copy grant.
",
- "AwsRedshiftClusterDeferredMaintenanceWindow$DeferMaintenanceEndTime": "The end of the time window for which maintenance was deferred.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterDeferredMaintenanceWindow$DeferMaintenanceEndTime": "The end of the time window for which maintenance was deferred.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterDeferredMaintenanceWindow$DeferMaintenanceIdentifier": "The identifier of the maintenance window.
",
- "AwsRedshiftClusterDeferredMaintenanceWindow$DeferMaintenanceStartTime": "The start of the time window for which maintenance was deferred.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterDeferredMaintenanceWindow$DeferMaintenanceStartTime": "The start of the time window for which maintenance was deferred.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterDetails$AvailabilityZone": "The name of the Availability Zone in which the cluster is located.
",
"AwsRedshiftClusterDetails$ClusterAvailabilityStatus": "The availability status of the cluster for queries. Possible values are the following:
-
Available
- The cluster is available for queries.
-
Unavailable
- The cluster is not available for queries.
-
Maintenance
- The cluster is intermittently available for queries due to maintenance activities.
-
Modifying
-The cluster is intermittently available for queries due to changes that modify the cluster.
-
Failed
- The cluster failed and is not available for queries.
",
- "AwsRedshiftClusterDetails$ClusterCreateTime": "Indicates when the cluster was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterDetails$ClusterCreateTime": "Indicates when the cluster was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterDetails$ClusterIdentifier": "The unique identifier of the cluster.
",
"AwsRedshiftClusterDetails$ClusterPublicKey": "The public key for the cluster.
",
"AwsRedshiftClusterDetails$ClusterRevisionNumber": "The specific revision number of the database in the cluster.
",
@@ -6097,12 +6097,12 @@
"AwsRedshiftClusterDetails$ClusterVersion": "The version ID of the Amazon Redshift engine that runs on the cluster.
",
"AwsRedshiftClusterDetails$DBName": "The name of the initial database that was created when the cluster was created.
The same name is returned for the life of the cluster.
If an initial database is not specified, a database named devdev
is created by default.
",
"AwsRedshiftClusterDetails$ElasticResizeNumberOfNodeOptions": "The number of nodes that you can use the elastic resize method to resize the cluster to.
",
- "AwsRedshiftClusterDetails$ExpectedNextSnapshotScheduleTime": "Indicates when the next snapshot is expected to be taken. The cluster must have a valid snapshot schedule and have backups enabled.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterDetails$ExpectedNextSnapshotScheduleTime": "Indicates when the next snapshot is expected to be taken. The cluster must have a valid snapshot schedule and have backups enabled.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterDetails$ExpectedNextSnapshotScheduleTimeStatus": "The status of the next expected snapshot.
Valid values: OnTrack
| Pending
",
"AwsRedshiftClusterDetails$KmsKeyId": "The identifier of the KMS encryption key that is used to encrypt data in the cluster.
",
"AwsRedshiftClusterDetails$MaintenanceTrackName": "The name of the maintenance track for the cluster.
",
"AwsRedshiftClusterDetails$MasterUsername": "The master user name for the cluster. This name is used to connect to the database that is specified in as the value of DBName
.
",
- "AwsRedshiftClusterDetails$NextMaintenanceWindowStartTime": "Indicates the start of the next maintenance window.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterDetails$NextMaintenanceWindowStartTime": "Indicates the start of the next maintenance window.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterDetails$NodeType": "The node type for the nodes in the cluster.
",
"AwsRedshiftClusterDetails$PreferredMaintenanceWindow": "The weekly time range, in Universal Coordinated Time (UTC), during which system maintenance can occur.
Format: <day>:HH:MM-<day>:HH:MM
For the day values, use mon
| tue
| wed
| thu
| fri
| sat
| sun
For example, sun:09:32-sun:10:02
",
"AwsRedshiftClusterDetails$SnapshotScheduleIdentifier": "A unique identifier for the cluster snapshot schedule.
",
@@ -6118,8 +6118,8 @@
"AwsRedshiftClusterIamRole$IamRoleArn": "The ARN of the IAM role.
",
"AwsRedshiftClusterLoggingStatus$BucketName": "The name of the S3 bucket where the log files are stored.
",
"AwsRedshiftClusterLoggingStatus$LastFailureMessage": "The message indicating that the logs failed to be delivered.
",
- "AwsRedshiftClusterLoggingStatus$LastFailureTime": "The last time when logs failed to be delivered.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsRedshiftClusterLoggingStatus$LastSuccessfulDeliveryTime": "The last time that logs were delivered successfully.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterLoggingStatus$LastFailureTime": "The last time when logs failed to be delivered.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsRedshiftClusterLoggingStatus$LastSuccessfulDeliveryTime": "The last time that logs were delivered successfully.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsRedshiftClusterLoggingStatus$S3KeyPrefix": "Provides the prefix applied to the log file names.
",
"AwsRedshiftClusterPendingModifiedValues$ClusterIdentifier": "The pending or in-progress change to the identifier for the cluster.
",
"AwsRedshiftClusterPendingModifiedValues$ClusterType": "The pending or in-progress change to the cluster type.
",
@@ -6132,7 +6132,7 @@
"AwsRedshiftClusterRestoreStatus$Status": "The status of the restore action.
Valid values: starting
| restoring
| completed
| failed
",
"AwsRedshiftClusterVpcSecurityGroup$Status": "The status of the VPC security group.
",
"AwsRedshiftClusterVpcSecurityGroup$VpcSecurityGroupId": "The identifier of the VPC security group.
",
- "AwsS3BucketBucketLifecycleConfigurationRulesDetails$ExpirationDate": "The date when objects are moved or deleted.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsS3BucketBucketLifecycleConfigurationRulesDetails$ExpirationDate": "The date when objects are moved or deleted.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsS3BucketBucketLifecycleConfigurationRulesDetails$ID": "The unique identifier of the rule.
",
"AwsS3BucketBucketLifecycleConfigurationRulesDetails$Prefix": "A prefix that identifies one or more objects that the rule applies to.
",
"AwsS3BucketBucketLifecycleConfigurationRulesDetails$Status": "The current status of the rule. Indicates whether the rule is currently being applied.
",
@@ -6145,13 +6145,13 @@
"AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails$Key": "The tag key.
",
"AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails$Value": "The tag value
",
"AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails$StorageClass": "The class of storage to change the object to after the object is noncurrent for the specified number of days.
",
- "AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails$Date": "A date on which to transition objects to the specified storage class. If you provide Date
, you cannot provide Days
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails$Date": "A date on which to transition objects to the specified storage class. If you provide Date
, you cannot provide Days
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails$StorageClass": "The storage class to transition the object to. Valid values are as follows:
-
DEEP_ARCHIVE
-
GLACIER
-
INTELLIGENT_TIERING
-
ONEZONE_IA
-
STANDARD_IA
",
"AwsS3BucketBucketVersioningConfiguration$Status": "The versioning status of the S3 bucket. Valid values are Enabled
or Suspended
.
",
"AwsS3BucketDetails$OwnerId": "The canonical user ID of the owner of the S3 bucket.
",
"AwsS3BucketDetails$OwnerName": "The display name of the owner of the S3 bucket.
",
"AwsS3BucketDetails$OwnerAccountId": "The Amazon Web Services account identifier of the account that owns the S3 bucket.
",
- "AwsS3BucketDetails$CreatedAt": "Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsS3BucketDetails$CreatedAt": "Indicates when the S3 bucket was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsS3BucketDetails$AccessControlList": "The access control list for the S3 bucket.
",
"AwsS3BucketLoggingConfiguration$DestinationBucketName": "The name of the S3 bucket where log files for the S3 bucket are stored.
",
"AwsS3BucketLoggingConfiguration$LogFilePrefix": "The prefix added to log files for the S3 bucket.
",
@@ -6172,7 +6172,7 @@
"AwsS3BucketWebsiteConfigurationRoutingRuleRedirect$Protocol": "The protocol to use to redirect the request. By default, uses the protocol from the original request.
",
"AwsS3BucketWebsiteConfigurationRoutingRuleRedirect$ReplaceKeyPrefixWith": "The object key prefix to use in the redirect request.
Cannot be provided if ReplaceKeyWith
is present.
",
"AwsS3BucketWebsiteConfigurationRoutingRuleRedirect$ReplaceKeyWith": "The specific object key to use in the redirect request.
Cannot be provided if ReplaceKeyPrefixWith
is present.
",
- "AwsS3ObjectDetails$LastModified": "Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsS3ObjectDetails$LastModified": "Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsS3ObjectDetails$ETag": "The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
",
"AwsS3ObjectDetails$VersionId": "The version of the object.
",
"AwsS3ObjectDetails$ContentType": "A standard MIME type describing the format of the object data.
",
@@ -6206,10 +6206,10 @@
"AwsSecurityFinding$Region": "The Region from which the finding was generated.
Security Hub populates this attribute automatically for each finding. You cannot update it using BatchImportFindings
or BatchUpdateFindings
.
",
"AwsSecurityFinding$GeneratorId": "The identifier for the solution-specific component (a discrete unit of logic) that generated a finding. In various security-findings providers' solutions, this generator can be called a rule, a check, a detector, a plugin, etc.
",
"AwsSecurityFinding$AwsAccountId": "The Amazon Web Services account ID that a finding is generated in.
",
- "AwsSecurityFinding$FirstObservedAt": "Indicates when the security-findings provider first observed the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsSecurityFinding$LastObservedAt": "Indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsSecurityFinding$CreatedAt": "Indicates when the security-findings provider created the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "AwsSecurityFinding$UpdatedAt": "Indicates when the security-findings provider last updated the finding record.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsSecurityFinding$FirstObservedAt": "Indicates when the security-findings provider first observed the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsSecurityFinding$LastObservedAt": "Indicates when the security-findings provider most recently observed the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsSecurityFinding$CreatedAt": "Indicates when the security-findings provider created the potential security issue that a finding captured.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "AwsSecurityFinding$UpdatedAt": "Indicates when the security-findings provider last updated the finding record.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"AwsSecurityFinding$Title": "A finding's title.
In this release, Title
is a required property.
",
"AwsSecurityFinding$Description": "A finding's description.
In this release, Description
is a required property.
",
"AwsSecurityFinding$SourceUrl": "A URL that links to a page about the current finding in the security-findings provider's solution.
",
@@ -6318,7 +6318,7 @@
"ContainerDetails$Name": "The name of the container related to a finding.
",
"ContainerDetails$ImageId": "The identifier of the container image related to a finding.
",
"ContainerDetails$ImageName": "The name of the container image related to a finding.
",
- "ContainerDetails$LaunchedAt": "Indicates when the container started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "ContainerDetails$LaunchedAt": "Indicates when the container started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"Country$CountryCode": "The 2-letter ISO 3166 country code for the country.
",
"Country$CountryName": "The name of the country.
",
"CreateActionTargetRequest$Name": "The name of the custom action target. Can contain up to 20 characters.
",
@@ -6338,8 +6338,8 @@
"Cvss$BaseVector": "The base scoring vector for the CVSS score.
",
"Cvss$Source": "The origin of the original CVSS score and vector.
",
"DataClassificationDetails$DetailedResultsLocation": "The path to the folder or file that contains the sensitive data.
",
- "DateFilter$Start": "A start date for the date filter.
",
- "DateFilter$End": "An end date for the date filter.
",
+ "DateFilter$Start": "A timestamp that provides the start date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
+ "DateFilter$End": "A timestamp that provides the end date for the date filter.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
",
"DeleteActionTargetRequest$ActionTargetArn": "The ARN of the custom action target to delete.
",
"DeleteActionTargetResponse$ActionTargetArn": "The ARN of the custom action target that was deleted.
",
"DeleteFindingAggregatorRequest$FindingAggregatorArn": "The ARN of the finding aggregator to delete. To obtain the ARN, use ListFindingAggregators
.
",
@@ -6428,18 +6428,18 @@
"NonEmptyStringList$member": null,
"Note$Text": "The text of a note.
",
"Note$UpdatedBy": "The principal that created a note.
",
- "Note$UpdatedAt": "The timestamp of when the note was updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "Note$UpdatedAt": "The timestamp of when the note was updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"NoteUpdate$Text": "The updated note text.
",
"NoteUpdate$UpdatedBy": "The principal that updated the note.
",
"PatchSummary$Id": "The identifier of the compliance standard that was used to determine the patch compliance status.
",
- "PatchSummary$OperationStartTime": "Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "PatchSummary$OperationEndTime": "Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "PatchSummary$OperationStartTime": "Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "PatchSummary$OperationEndTime": "Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"PatchSummary$RebootOption": "The reboot option specified for the instance.
",
"PatchSummary$Operation": "The type of patch operation performed. For Patch Manager, the values are SCAN
and INSTALL
.
",
"ProcessDetails$Name": "The name of the process.
",
"ProcessDetails$Path": "The path to the process executable.
",
- "ProcessDetails$LaunchedAt": "Indicates when the process was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "ProcessDetails$TerminatedAt": "Indicates when the process was terminated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "ProcessDetails$LaunchedAt": "Indicates when the process was launched.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "ProcessDetails$TerminatedAt": "Indicates when the process was terminated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"Product$ProductArn": "The ARN assigned to the product.
",
"Product$ProductName": "The name of the product.
",
"Product$CompanyName": "The name of the company that provides the product.
",
@@ -6518,7 +6518,7 @@
"Threat$Name": "The name of the threat.
",
"Threat$Severity": "The severity of the threat.
",
"ThreatIntelIndicator$Value": "The value of a threat intelligence indicator.
",
- "ThreatIntelIndicator$LastObservedAt": "Indicates when the most recent instance of a threat intelligence indicator was observed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "ThreatIntelIndicator$LastObservedAt": "Indicates when the most recent instance of a threat intelligence indicator was observed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"ThreatIntelIndicator$Source": "The source of the threat intelligence indicator.
",
"ThreatIntelIndicator$SourceUrl": "The URL to the page or site where you can get more information about the threat intelligence indicator.
",
"TypeList$member": null,
@@ -6543,8 +6543,8 @@
"VulnerabilityVendor$Name": "The name of the vendor.
",
"VulnerabilityVendor$Url": "The URL of the vulnerability advisory.
",
"VulnerabilityVendor$VendorSeverity": "The severity that the vendor assigned to the vulnerability.
",
- "VulnerabilityVendor$VendorCreatedAt": "Indicates when the vulnerability advisory was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
- "VulnerabilityVendor$VendorUpdatedAt": "Indicates when the vulnerability advisory was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
",
+ "VulnerabilityVendor$VendorCreatedAt": "Indicates when the vulnerability advisory was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
+ "VulnerabilityVendor$VendorUpdatedAt": "Indicates when the vulnerability advisory was last updated.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
",
"WafAction$Type": "Specifies how you want WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
-
ALLOW
- WAF allows requests
-
BLOCK
- WAF blocks requests
-
COUNT
- WAF increments a counter of the requests that match all of the conditions in the rule. WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify COUNT
for the default action for a web ACL.
",
"WafExcludedRule$RuleId": "The unique identifier for the rule to exclude from the rule group.
",
"WafOverrideAction$Type": " COUNT
overrides the action specified by the individual rule within a RuleGroup
.
If set to NONE
, the rule's action takes place.
"
diff --git a/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json b/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json
index 8b5f8f17089..bcaddb83461 100644
--- a/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json
+++ b/models/apis/securityhub/2018-10-26/endpoint-rule-set-1.json
@@ -3,7 +3,7 @@
"parameters": {
"Region": {
"builtIn": "AWS::Region",
- "required": true,
+ "required": false,
"documentation": "The AWS region used to dispatch the request.",
"type": "String"
},
@@ -32,13 +32,12 @@
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "isSet",
"argv": [
{
- "ref": "Region"
+ "ref": "Endpoint"
}
- ],
- "assign": "PartitionResult"
+ ]
}
],
"type": "tree",
@@ -46,14 +45,20 @@
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Endpoint"
- }
+ "ref": "UseFIPS"
+ },
+ true
]
}
],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
"type": "tree",
"rules": [
{
@@ -62,67 +67,42 @@
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "ref": "UseDualStack"
},
true
]
}
],
- "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
},
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
- },
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
]
- },
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
{
"conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- },
- {
- "fn": "booleanEquals",
+ "fn": "isSet",
"argv": [
{
- "ref": "UseDualStack"
- },
- true
+ "ref": "Region"
+ }
]
}
],
@@ -131,154 +111,215 @@
{
"conditions": [
{
- "fn": "booleanEquals",
+ "fn": "aws.partition",
"argv": [
- true,
{
- "fn": "getAttr",
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsFIPS"
+ true
]
- }
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- true,
+ },
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseDualStack"
},
- "supportsDualStack"
+ true
]
}
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
+ ],
"type": "tree",
"rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://securityhub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
{
"conditions": [],
- "endpoint": {
- "url": "https://securityhub-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
}
]
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
},
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseFIPS"
},
- "supportsFIPS"
+ true
]
}
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
+ ],
"type": "tree",
"rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://securityhub-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
{
"conditions": [],
- "endpoint": {
- "url": "https://securityhub-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
}
]
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
},
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
{
- "fn": "booleanEquals",
- "argv": [
- true,
+ "conditions": [
{
- "fn": "getAttr",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "PartitionResult"
+ "ref": "UseDualStack"
},
- "supportsDualStack"
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://securityhub.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
]
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
}
]
- }
- ],
- "type": "tree",
- "rules": [
+ },
{
"conditions": [],
"type": "tree",
@@ -286,7 +327,7 @@
{
"conditions": [],
"endpoint": {
- "url": "https://securityhub.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "url": "https://securityhub.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
@@ -295,28 +336,13 @@
]
}
]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
}
]
},
{
"conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://securityhub.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
diff --git a/models/apis/securityhub/2018-10-26/endpoint-tests-1.json b/models/apis/securityhub/2018-10-26/endpoint-tests-1.json
index 84c39af1d63..0fc9f62803f 100644
--- a/models/apis/securityhub/2018-10-26/endpoint-tests-1.json
+++ b/models/apis/securityhub/2018-10-26/endpoint-tests-1.json
@@ -1,94 +1,94 @@
{
"testCases": [
{
- "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-gov-west-1.amazonaws.com"
+ "url": "https://securityhub.af-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "af-south-1",
"UseDualStack": false,
- "Region": "us-gov-west-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-gov-west-1.amazonaws.com"
+ "url": "https://securityhub.ap-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "ap-east-1",
"UseDualStack": false,
- "Region": "us-gov-west-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-gov-east-1.amazonaws.com"
+ "url": "https://securityhub.ap-northeast-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "ap-northeast-1",
"UseDualStack": false,
- "Region": "us-gov-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-gov-east-1.amazonaws.com"
+ "url": "https://securityhub.ap-northeast-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "ap-northeast-2",
"UseDualStack": false,
- "Region": "us-gov-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-gov-east-1.api.aws"
+ "url": "https://securityhub.ap-northeast-3.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
- "UseDualStack": true,
- "Region": "us-gov-east-1"
+ "Region": "ap-northeast-3",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-gov-east-1.api.aws"
+ "url": "https://securityhub.ap-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-gov-east-1"
+ "Region": "ap-south-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-southeast-3.amazonaws.com"
+ "url": "https://securityhub.ap-southeast-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "ap-southeast-1",
"UseDualStack": false,
- "Region": "ap-southeast-3"
+ "UseFIPS": false
}
},
{
@@ -99,113 +99,113 @@
}
},
"params": {
- "UseFIPS": false,
+ "Region": "ap-southeast-2",
"UseDualStack": false,
- "Region": "ap-southeast-2"
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-southeast-1.amazonaws.com"
+ "url": "https://securityhub.ap-southeast-3.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "ap-southeast-3",
"UseDualStack": false,
- "Region": "ap-southeast-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-central-1.amazonaws.com"
+ "url": "https://securityhub.ca-central-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "ca-central-1",
"UseDualStack": false,
- "Region": "eu-central-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-south-1.amazonaws.com"
+ "url": "https://securityhub.eu-central-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "eu-central-1",
"UseDualStack": false,
- "Region": "eu-south-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-east-1.amazonaws.com"
+ "url": "https://securityhub.eu-north-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "eu-north-1",
"UseDualStack": false,
- "Region": "ap-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.sa-east-1.amazonaws.com"
+ "url": "https://securityhub.eu-south-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "eu-south-1",
"UseDualStack": false,
- "Region": "sa-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-east-2.amazonaws.com"
+ "url": "https://securityhub.eu-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "eu-west-1",
"UseDualStack": false,
- "Region": "us-east-2"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
+ "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-east-2.amazonaws.com"
+ "url": "https://securityhub.eu-west-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "eu-west-2",
"UseDualStack": false,
- "Region": "us-east-2"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-north-1.amazonaws.com"
+ "url": "https://securityhub.eu-west-3.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "eu-west-3",
"UseDualStack": false,
- "Region": "eu-north-1"
+ "UseFIPS": false
}
},
{
@@ -216,321 +216,321 @@
}
},
"params": {
- "UseFIPS": false,
+ "Region": "me-south-1",
"UseDualStack": false,
- "Region": "me-south-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
+ "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-west-3.amazonaws.com"
+ "url": "https://securityhub.sa-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "sa-east-1",
"UseDualStack": false,
- "Region": "eu-west-3"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-west-2.amazonaws.com"
+ "url": "https://securityhub.us-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-east-1",
"UseDualStack": false,
- "Region": "eu-west-2"
+ "UseFIPS": false
}
},
{
- "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.eu-west-1.amazonaws.com"
+ "url": "https://securityhub-fips.us-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-east-1",
"UseDualStack": false,
- "Region": "eu-west-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-east-1.amazonaws.com"
+ "url": "https://securityhub.us-east-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-east-2",
"UseDualStack": false,
- "Region": "us-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-east-1.amazonaws.com"
+ "url": "https://securityhub-fips.us-east-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "us-east-2",
"UseDualStack": false,
- "Region": "us-east-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-northeast-3.amazonaws.com"
+ "url": "https://securityhub.us-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-west-1",
"UseDualStack": false,
- "Region": "ap-northeast-3"
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-northeast-2.amazonaws.com"
+ "url": "https://securityhub-fips.us-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-west-1",
"UseDualStack": false,
- "Region": "ap-northeast-2"
+ "UseFIPS": true
}
},
{
- "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-northeast-1.amazonaws.com"
+ "url": "https://securityhub.us-west-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-west-2",
"UseDualStack": false,
- "Region": "ap-northeast-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ap-south-1.amazonaws.com"
+ "url": "https://securityhub-fips.us-west-2.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-west-2",
"UseDualStack": false,
- "Region": "ap-south-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.af-south-1.amazonaws.com"
+ "url": "https://securityhub-fips.us-east-1.api.aws"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": false,
- "Region": "af-south-1"
+ "Region": "us-east-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-west-2.amazonaws.com"
+ "url": "https://securityhub.us-east-1.api.aws"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": false,
- "Region": "us-west-2"
+ "Region": "us-east-1",
+ "UseDualStack": true,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-west-2.amazonaws.com"
+ "url": "https://securityhub.cn-north-1.amazonaws.com.cn"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "cn-north-1",
"UseDualStack": false,
- "Region": "us-west-2"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-west-1.amazonaws.com"
+ "url": "https://securityhub.cn-northwest-1.amazonaws.com.cn"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "cn-northwest-1",
"UseDualStack": false,
- "Region": "us-west-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-west-1.amazonaws.com"
+ "url": "https://securityhub-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
- "UseFIPS": true,
- "UseDualStack": false,
- "Region": "us-west-1"
+ "Region": "cn-north-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.ca-central-1.amazonaws.com"
+ "url": "https://securityhub-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "cn-north-1",
"UseDualStack": false,
- "Region": "ca-central-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-east-1.api.aws"
+ "url": "https://securityhub.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "cn-north-1",
"UseDualStack": true,
- "Region": "us-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-east-1.api.aws"
+ "url": "https://securityhub.us-gov-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": true,
- "Region": "us-east-1"
+ "Region": "us-gov-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.us-iso-east-1.c2s.ic.gov"
+ "url": "https://securityhub-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "us-gov-east-1",
"UseDualStack": false,
- "Region": "us-iso-east-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.us-iso-east-1.c2s.ic.gov"
+ "url": "https://securityhub.us-gov-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-gov-west-1",
"UseDualStack": false,
- "Region": "us-iso-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.cn-north-1.amazonaws.com.cn"
+ "url": "https://securityhub-fips.us-gov-west-1.amazonaws.com"
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-gov-west-1",
"UseDualStack": false,
- "Region": "cn-north-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.cn-northwest-1.amazonaws.com.cn"
+ "url": "https://securityhub-fips.us-gov-east-1.api.aws"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": false,
- "Region": "cn-northwest-1"
+ "Region": "us-gov-east-1",
+ "UseDualStack": true,
+ "UseFIPS": true
}
},
{
- "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.cn-north-1.api.amazonwebservices.com.cn"
+ "url": "https://securityhub.us-gov-east-1.api.aws"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "us-gov-east-1",
"UseDualStack": true,
- "Region": "cn-north-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub-fips.cn-north-1.amazonaws.com.cn"
+ "url": "https://securityhub-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
- "UseFIPS": true,
+ "Region": "us-iso-east-1",
"UseDualStack": false,
- "Region": "cn-north-1"
+ "UseFIPS": true
}
},
{
- "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://securityhub.cn-north-1.api.amazonwebservices.com.cn"
+ "url": "https://securityhub.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
- "UseFIPS": false,
- "UseDualStack": true,
- "Region": "cn-north-1"
+ "Region": "us-iso-east-1",
+ "UseDualStack": false,
+ "UseFIPS": false
}
},
{
@@ -541,9 +541,9 @@
}
},
"params": {
- "UseFIPS": true,
+ "Region": "us-isob-east-1",
"UseDualStack": false,
- "Region": "us-isob-east-1"
+ "UseFIPS": true
}
},
{
@@ -554,22 +554,35 @@
}
},
"params": {
- "UseFIPS": false,
+ "Region": "us-isob-east-1",
"UseDualStack": false,
- "Region": "us-isob-east-1"
+ "UseFIPS": false
}
},
{
- "documentation": "For custom endpoint with fips disabled and dualstack disabled",
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
+ "Region": "us-east-1",
+ "UseDualStack": false,
"UseFIPS": 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": {
"UseDualStack": false,
- "Region": "us-east-1",
+ "UseFIPS": false,
"Endpoint": "https://example.com"
}
},
@@ -579,9 +592,9 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
- "UseFIPS": true,
- "UseDualStack": false,
"Region": "us-east-1",
+ "UseDualStack": false,
+ "UseFIPS": true,
"Endpoint": "https://example.com"
}
},
@@ -591,9 +604,9 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
- "UseFIPS": false,
- "UseDualStack": true,
"Region": "us-east-1",
+ "UseDualStack": true,
+ "UseFIPS": false,
"Endpoint": "https://example.com"
}
}
diff --git a/models/apis/tnb/2008-10-21/api-2.json b/models/apis/tnb/2008-10-21/api-2.json
new file mode 100644
index 00000000000..d98b2037528
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/api-2.json
@@ -0,0 +1,3125 @@
+{
+ "metadata": {
+ "apiVersion": "2008-10-21",
+ "endpointPrefix": "tnb",
+ "jsonVersion": "1.1",
+ "protocol": "rest-json",
+ "serviceFullName": "AWS Telco Network Builder",
+ "serviceId": "tnb",
+ "signatureVersion": "v4",
+ "signingName": "tnb",
+ "uid": "tnb-2008-10-21"
+ },
+ "operations": {
+ "CancelSolNetworkOperation": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel",
+ "responseCode": 202
+ },
+ "input": {
+ "shape": "CancelSolNetworkOperationInput"
+ },
+ "name": "CancelSolNetworkOperation"
+ },
+ "CreateSolFunctionPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateSolFunctionPackageInput"
+ },
+ "name": "CreateSolFunctionPackage",
+ "output": {
+ "shape": "CreateSolFunctionPackageOutput"
+ }
+ },
+ "CreateSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nslcm/v1/ns_instances",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateSolNetworkInstanceInput"
+ },
+ "name": "CreateSolNetworkInstance",
+ "output": {
+ "shape": "CreateSolNetworkInstanceOutput"
+ }
+ },
+ "CreateSolNetworkPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nsd/v1/ns_descriptors",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateSolNetworkPackageInput"
+ },
+ "name": "CreateSolNetworkPackage",
+ "output": {
+ "shape": "CreateSolNetworkPackageOutput"
+ }
+ },
+ "DeleteSolFunctionPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ "responseCode": 204
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteSolFunctionPackageInput"
+ },
+ "name": "DeleteSolFunctionPackage"
+ },
+ "DeleteSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/sol/nslcm/v1/ns_instances/{nsInstanceId}",
+ "responseCode": 204
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteSolNetworkInstanceInput"
+ },
+ "name": "DeleteSolNetworkInstance"
+ },
+ "DeleteSolNetworkPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ "responseCode": 204
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "DeleteSolNetworkPackageInput"
+ },
+ "name": "DeleteSolNetworkPackage"
+ },
+ "GetSolFunctionInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolFunctionInstanceInput"
+ },
+ "name": "GetSolFunctionInstance",
+ "output": {
+ "shape": "GetSolFunctionInstanceOutput"
+ }
+ },
+ "GetSolFunctionPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolFunctionPackageInput"
+ },
+ "name": "GetSolFunctionPackage",
+ "output": {
+ "shape": "GetSolFunctionPackageOutput"
+ }
+ },
+ "GetSolFunctionPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolFunctionPackageContentInput"
+ },
+ "name": "GetSolFunctionPackageContent",
+ "output": {
+ "shape": "GetSolFunctionPackageContentOutput"
+ }
+ },
+ "GetSolFunctionPackageDescriptor": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolFunctionPackageDescriptorInput"
+ },
+ "name": "GetSolFunctionPackageDescriptor",
+ "output": {
+ "shape": "GetSolFunctionPackageDescriptorOutput"
+ }
+ },
+ "GetSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nslcm/v1/ns_instances/{nsInstanceId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolNetworkInstanceInput"
+ },
+ "name": "GetSolNetworkInstance",
+ "output": {
+ "shape": "GetSolNetworkInstanceOutput"
+ }
+ },
+ "GetSolNetworkOperation": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolNetworkOperationInput"
+ },
+ "name": "GetSolNetworkOperation",
+ "output": {
+ "shape": "GetSolNetworkOperationOutput"
+ }
+ },
+ "GetSolNetworkPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolNetworkPackageInput"
+ },
+ "name": "GetSolNetworkPackage",
+ "output": {
+ "shape": "GetSolNetworkPackageOutput"
+ }
+ },
+ "GetSolNetworkPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolNetworkPackageContentInput"
+ },
+ "name": "GetSolNetworkPackageContent",
+ "output": {
+ "shape": "GetSolNetworkPackageContentOutput"
+ }
+ },
+ "GetSolNetworkPackageDescriptor": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "GetSolNetworkPackageDescriptorInput"
+ },
+ "name": "GetSolNetworkPackageDescriptor",
+ "output": {
+ "shape": "GetSolNetworkPackageDescriptorOutput"
+ }
+ },
+ "InstantiateSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "InstantiateSolNetworkInstanceInput"
+ },
+ "name": "InstantiateSolNetworkInstance",
+ "output": {
+ "shape": "InstantiateSolNetworkInstanceOutput"
+ }
+ },
+ "ListSolFunctionInstances": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnflcm/v1/vnf_instances",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListSolFunctionInstancesInput"
+ },
+ "name": "ListSolFunctionInstances",
+ "output": {
+ "shape": "ListSolFunctionInstancesOutput"
+ }
+ },
+ "ListSolFunctionPackages": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListSolFunctionPackagesInput"
+ },
+ "name": "ListSolFunctionPackages",
+ "output": {
+ "shape": "ListSolFunctionPackagesOutput"
+ }
+ },
+ "ListSolNetworkInstances": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nslcm/v1/ns_instances",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListSolNetworkInstancesInput"
+ },
+ "name": "ListSolNetworkInstances",
+ "output": {
+ "shape": "ListSolNetworkInstancesOutput"
+ }
+ },
+ "ListSolNetworkOperations": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nslcm/v1/ns_lcm_op_occs",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListSolNetworkOperationsInput"
+ },
+ "name": "ListSolNetworkOperations",
+ "output": {
+ "shape": "ListSolNetworkOperationsOutput"
+ }
+ },
+ "ListSolNetworkPackages": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/sol/nsd/v1/ns_descriptors",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListSolNetworkPackagesInput"
+ },
+ "name": "ListSolNetworkPackages",
+ "output": {
+ "shape": "ListSolNetworkPackagesOutput"
+ }
+ },
+ "ListTagsForResource": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "GET",
+ "requestUri": "/tags/{resourceArn}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListTagsForResourceInput"
+ },
+ "name": "ListTagsForResource",
+ "output": {
+ "shape": "ListTagsForResourceOutput"
+ }
+ },
+ "PutSolFunctionPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PUT",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content",
+ "responseCode": 202
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutSolFunctionPackageContentInput"
+ },
+ "name": "PutSolFunctionPackageContent",
+ "output": {
+ "shape": "PutSolFunctionPackageContentOutput"
+ }
+ },
+ "PutSolNetworkPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PUT",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content",
+ "responseCode": 200
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "PutSolNetworkPackageContentInput"
+ },
+ "name": "PutSolNetworkPackageContent",
+ "output": {
+ "shape": "PutSolNetworkPackageContentOutput"
+ }
+ },
+ "TagResource": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/tags/{resourceArn}",
+ "responseCode": 200
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "TagResourceInput"
+ },
+ "name": "TagResource",
+ "output": {
+ "shape": "TagResourceOutput"
+ }
+ },
+ "TerminateSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "TerminateSolNetworkInstanceInput"
+ },
+ "name": "TerminateSolNetworkInstance",
+ "output": {
+ "shape": "TerminateSolNetworkInstanceOutput"
+ }
+ },
+ "UntagResource": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/tags/{resourceArn}",
+ "responseCode": 200
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "UntagResourceInput"
+ },
+ "name": "UntagResource",
+ "output": {
+ "shape": "UntagResourceOutput"
+ }
+ },
+ "UpdateSolFunctionPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "UpdateSolFunctionPackageInput"
+ },
+ "name": "UpdateSolFunctionPackage",
+ "output": {
+ "shape": "UpdateSolFunctionPackageOutput"
+ }
+ },
+ "UpdateSolNetworkInstance": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ServiceQuotaExceededException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "POST",
+ "requestUri": "/sol/nslcm/v1/ns_instances/{nsInstanceId}/update",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "UpdateSolNetworkInstanceInput"
+ },
+ "name": "UpdateSolNetworkInstance",
+ "output": {
+ "shape": "UpdateSolNetworkInstanceOutput"
+ }
+ },
+ "UpdateSolNetworkPackage": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PATCH",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "UpdateSolNetworkPackageInput"
+ },
+ "name": "UpdateSolNetworkPackage",
+ "output": {
+ "shape": "UpdateSolNetworkPackageOutput"
+ }
+ },
+ "ValidateSolFunctionPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PUT",
+ "requestUri": "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate",
+ "responseCode": 202
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "ValidateSolFunctionPackageContentInput"
+ },
+ "name": "ValidateSolFunctionPackageContent",
+ "output": {
+ "shape": "ValidateSolFunctionPackageContentOutput"
+ }
+ },
+ "ValidateSolNetworkPackageContent": {
+ "errors": [
+ {
+ "shape": "InternalServerException"
+ },
+ {
+ "shape": "ThrottlingException"
+ },
+ {
+ "shape": "ValidationException"
+ },
+ {
+ "shape": "ResourceNotFoundException"
+ },
+ {
+ "shape": "AccessDeniedException"
+ }
+ ],
+ "http": {
+ "method": "PUT",
+ "requestUri": "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate",
+ "responseCode": 200
+ },
+ "idempotent": true,
+ "input": {
+ "shape": "ValidateSolNetworkPackageContentInput"
+ },
+ "name": "ValidateSolNetworkPackageContent",
+ "output": {
+ "shape": "ValidateSolNetworkPackageContentOutput"
+ }
+ }
+ },
+ "shapes": {
+ "AccessDeniedException": {
+ "error": {
+ "httpStatusCode": 403,
+ "senderFault": true
+ },
+ "exception": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "Blob": {
+ "type": "blob"
+ },
+ "Boolean": {
+ "box": true,
+ "type": "boolean"
+ },
+ "CancelSolNetworkOperationInput": {
+ "members": {
+ "nsLcmOpOccId": {
+ "location": "uri",
+ "locationName": "nsLcmOpOccId",
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "required": [
+ "nsLcmOpOccId"
+ ],
+ "type": "structure"
+ },
+ "CreateSolFunctionPackageInput": {
+ "members": {
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "type": "structure"
+ },
+ "CreateSolFunctionPackageOutput": {
+ "members": {
+ "arn": {
+ "shape": "VnfPkgArn"
+ },
+ "id": {
+ "shape": "VnfPkgId"
+ },
+ "onboardingState": {
+ "shape": "OnboardingState"
+ },
+ "operationalState": {
+ "shape": "OperationalState"
+ },
+ "tags": {
+ "shape": "TagMap"
+ },
+ "usageState": {
+ "shape": "UsageState"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "onboardingState",
+ "operationalState",
+ "usageState"
+ ],
+ "type": "structure"
+ },
+ "CreateSolNetworkInstanceInput": {
+ "members": {
+ "nsDescription": {
+ "shape": "CreateSolNetworkInstanceInputNsDescriptionString"
+ },
+ "nsName": {
+ "shape": "CreateSolNetworkInstanceInputNsNameString"
+ },
+ "nsdInfoId": {
+ "shape": "NsdInfoId"
+ },
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "nsName",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "CreateSolNetworkInstanceInputNsDescriptionString": {
+ "max": 124,
+ "min": 1,
+ "type": "string"
+ },
+ "CreateSolNetworkInstanceInputNsNameString": {
+ "max": 80,
+ "min": 1,
+ "type": "string"
+ },
+ "CreateSolNetworkInstanceOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsInstanceArn"
+ },
+ "id": {
+ "shape": "NsInstanceId"
+ },
+ "nsInstanceName": {
+ "shape": "String"
+ },
+ "nsdInfoId": {
+ "shape": "NsdInfoId"
+ },
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "nsInstanceName",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "CreateSolNetworkPackageInput": {
+ "members": {
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "type": "structure"
+ },
+ "CreateSolNetworkPackageOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsdInfoArn"
+ },
+ "id": {
+ "shape": "NsdInfoId"
+ },
+ "nsdOnboardingState": {
+ "shape": "NsdOnboardingState"
+ },
+ "nsdOperationalState": {
+ "shape": "NsdOperationalState"
+ },
+ "nsdUsageState": {
+ "shape": "NsdUsageState"
+ },
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "nsdOnboardingState",
+ "nsdOperationalState",
+ "nsdUsageState"
+ ],
+ "type": "structure"
+ },
+ "DeleteSolFunctionPackageInput": {
+ "members": {
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "required": [
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "DeleteSolNetworkInstanceInput": {
+ "members": {
+ "nsInstanceId": {
+ "location": "uri",
+ "locationName": "nsInstanceId",
+ "shape": "NsInstanceId"
+ }
+ },
+ "required": [
+ "nsInstanceId"
+ ],
+ "type": "structure"
+ },
+ "DeleteSolNetworkPackageInput": {
+ "members": {
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "required": [
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "DescriptorContentType": {
+ "enum": [
+ "text/plain"
+ ],
+ "type": "string"
+ },
+ "ErrorCause": {
+ "max": 200,
+ "min": 1,
+ "type": "string"
+ },
+ "ErrorDetails": {
+ "max": 10240,
+ "min": 0,
+ "type": "string"
+ },
+ "ErrorInfo": {
+ "members": {
+ "cause": {
+ "shape": "ErrorCause"
+ },
+ "details": {
+ "shape": "ErrorDetails"
+ }
+ },
+ "type": "structure"
+ },
+ "FunctionArtifactMeta": {
+ "members": {
+ "overrides": {
+ "shape": "OverrideList"
+ }
+ },
+ "type": "structure"
+ },
+ "GetSolFunctionInstanceInput": {
+ "members": {
+ "vnfInstanceId": {
+ "location": "uri",
+ "locationName": "vnfInstanceId",
+ "shape": "VnfInstanceId"
+ }
+ },
+ "required": [
+ "vnfInstanceId"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionInstanceMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionInstanceOutput": {
+ "members": {
+ "arn": {
+ "shape": "VnfInstanceArn"
+ },
+ "id": {
+ "shape": "VnfInstanceId"
+ },
+ "instantiatedVnfInfo": {
+ "shape": "GetSolVnfInfo"
+ },
+ "instantiationState": {
+ "shape": "VnfInstantiationState"
+ },
+ "metadata": {
+ "shape": "GetSolFunctionInstanceMetadata"
+ },
+ "nsInstanceId": {
+ "shape": "NsInstanceId"
+ },
+ "tags": {
+ "shape": "TagMap"
+ },
+ "vnfPkgId": {
+ "shape": "VnfPkgId"
+ },
+ "vnfProductName": {
+ "shape": "String"
+ },
+ "vnfProvider": {
+ "shape": "String"
+ },
+ "vnfdId": {
+ "shape": "VnfdId"
+ },
+ "vnfdVersion": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "instantiationState",
+ "metadata",
+ "nsInstanceId",
+ "vnfPkgId",
+ "vnfdId"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionPackageContentInput": {
+ "members": {
+ "accept": {
+ "location": "header",
+ "locationName": "Accept",
+ "shape": "PackageContentType"
+ },
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "required": [
+ "accept",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionPackageContentOutput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "packageContent": {
+ "shape": "Blob"
+ }
+ },
+ "payload": "packageContent",
+ "type": "structure"
+ },
+ "GetSolFunctionPackageDescriptorInput": {
+ "members": {
+ "accept": {
+ "location": "header",
+ "locationName": "Accept",
+ "shape": "DescriptorContentType"
+ },
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "required": [
+ "accept",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionPackageDescriptorOutput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "DescriptorContentType"
+ },
+ "vnfd": {
+ "shape": "Blob"
+ }
+ },
+ "payload": "vnfd",
+ "type": "structure"
+ },
+ "GetSolFunctionPackageInput": {
+ "members": {
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "required": [
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionPackageMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "vnfd": {
+ "shape": "FunctionArtifactMeta"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "GetSolFunctionPackageOutput": {
+ "members": {
+ "arn": {
+ "shape": "VnfPkgArn"
+ },
+ "id": {
+ "shape": "VnfPkgId"
+ },
+ "metadata": {
+ "shape": "GetSolFunctionPackageMetadata"
+ },
+ "onboardingState": {
+ "shape": "OnboardingState"
+ },
+ "operationalState": {
+ "shape": "OperationalState"
+ },
+ "tags": {
+ "shape": "TagMap"
+ },
+ "usageState": {
+ "shape": "UsageState"
+ },
+ "vnfProductName": {
+ "shape": "String"
+ },
+ "vnfProvider": {
+ "shape": "String"
+ },
+ "vnfdId": {
+ "shape": "String"
+ },
+ "vnfdVersion": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "onboardingState",
+ "operationalState",
+ "usageState"
+ ],
+ "type": "structure"
+ },
+ "GetSolInstantiatedVnfInfo": {
+ "members": {
+ "vnfState": {
+ "shape": "VnfOperationalState"
+ }
+ },
+ "type": "structure"
+ },
+ "GetSolNetworkInstanceInput": {
+ "members": {
+ "nsInstanceId": {
+ "location": "uri",
+ "locationName": "nsInstanceId",
+ "shape": "NsInstanceId"
+ }
+ },
+ "required": [
+ "nsInstanceId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkInstanceMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkInstanceOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsInstanceArn"
+ },
+ "id": {
+ "shape": "NsInstanceId"
+ },
+ "lcmOpInfo": {
+ "shape": "LcmOperationInfo"
+ },
+ "metadata": {
+ "shape": "GetSolNetworkInstanceMetadata"
+ },
+ "nsInstanceDescription": {
+ "shape": "String"
+ },
+ "nsInstanceName": {
+ "shape": "String"
+ },
+ "nsState": {
+ "shape": "NsState"
+ },
+ "nsdId": {
+ "shape": "NsdId"
+ },
+ "nsdInfoId": {
+ "shape": "NsdInfoId"
+ },
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsInstanceDescription",
+ "nsInstanceName",
+ "nsdId",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkOperationInput": {
+ "members": {
+ "nsLcmOpOccId": {
+ "location": "uri",
+ "locationName": "nsLcmOpOccId",
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "required": [
+ "nsLcmOpOccId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkOperationMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkOperationOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsLcmOpOccArn"
+ },
+ "error": {
+ "shape": "ProblemDetails"
+ },
+ "id": {
+ "shape": "NsLcmOpOccId"
+ },
+ "lcmOperationType": {
+ "shape": "LcmOperationType"
+ },
+ "metadata": {
+ "shape": "GetSolNetworkOperationMetadata"
+ },
+ "nsInstanceId": {
+ "shape": "NsInstanceId"
+ },
+ "operationState": {
+ "shape": "NsLcmOperationState"
+ },
+ "tags": {
+ "shape": "TagMap"
+ },
+ "tasks": {
+ "shape": "GetSolNetworkOperationTasksList"
+ }
+ },
+ "required": [
+ "arn"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkOperationTaskDetails": {
+ "members": {
+ "taskContext": {
+ "shape": "StringMap"
+ },
+ "taskEndTime": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "taskErrorDetails": {
+ "shape": "ErrorInfo"
+ },
+ "taskName": {
+ "shape": "String"
+ },
+ "taskStartTime": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "taskStatus": {
+ "shape": "TaskStatus"
+ }
+ },
+ "type": "structure"
+ },
+ "GetSolNetworkOperationTasksList": {
+ "member": {
+ "shape": "GetSolNetworkOperationTaskDetails"
+ },
+ "type": "list"
+ },
+ "GetSolNetworkPackageContentInput": {
+ "members": {
+ "accept": {
+ "location": "header",
+ "locationName": "Accept",
+ "shape": "PackageContentType"
+ },
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "required": [
+ "accept",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkPackageContentOutput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "nsdContent": {
+ "shape": "Blob"
+ }
+ },
+ "payload": "nsdContent",
+ "type": "structure"
+ },
+ "GetSolNetworkPackageDescriptorInput": {
+ "members": {
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "required": [
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkPackageDescriptorOutput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "DescriptorContentType"
+ },
+ "nsd": {
+ "shape": "Blob"
+ }
+ },
+ "payload": "nsd",
+ "type": "structure"
+ },
+ "GetSolNetworkPackageInput": {
+ "members": {
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "required": [
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkPackageMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "nsd": {
+ "shape": "NetworkArtifactMeta"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "GetSolNetworkPackageOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsdInfoArn"
+ },
+ "id": {
+ "shape": "NsdInfoId"
+ },
+ "metadata": {
+ "shape": "GetSolNetworkPackageMetadata"
+ },
+ "nsdId": {
+ "shape": "NsdId"
+ },
+ "nsdName": {
+ "shape": "String"
+ },
+ "nsdOnboardingState": {
+ "shape": "NsdOnboardingState"
+ },
+ "nsdOperationalState": {
+ "shape": "NsdOperationalState"
+ },
+ "nsdUsageState": {
+ "shape": "NsdUsageState"
+ },
+ "nsdVersion": {
+ "shape": "String"
+ },
+ "tags": {
+ "shape": "TagMap"
+ },
+ "vnfPkgIds": {
+ "shape": "VnfPkgIdList"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsdId",
+ "nsdName",
+ "nsdOnboardingState",
+ "nsdOperationalState",
+ "nsdUsageState",
+ "nsdVersion",
+ "vnfPkgIds"
+ ],
+ "type": "structure"
+ },
+ "GetSolVnfInfo": {
+ "members": {
+ "vnfState": {
+ "shape": "VnfOperationalState"
+ },
+ "vnfcResourceInfo": {
+ "shape": "GetSolVnfcResourceInfoList"
+ }
+ },
+ "type": "structure"
+ },
+ "GetSolVnfcResourceInfo": {
+ "members": {
+ "metadata": {
+ "shape": "GetSolVnfcResourceInfoMetadata"
+ }
+ },
+ "type": "structure"
+ },
+ "GetSolVnfcResourceInfoList": {
+ "member": {
+ "shape": "GetSolVnfcResourceInfo"
+ },
+ "type": "list"
+ },
+ "GetSolVnfcResourceInfoMetadata": {
+ "members": {
+ "cluster": {
+ "shape": "String"
+ },
+ "helmChart": {
+ "shape": "String"
+ },
+ "nodeGroup": {
+ "shape": "String"
+ }
+ },
+ "type": "structure"
+ },
+ "InstantiateSolNetworkInstanceInput": {
+ "members": {
+ "dryRun": {
+ "location": "querystring",
+ "locationName": "dry_run",
+ "shape": "Boolean"
+ },
+ "nsInstanceId": {
+ "location": "uri",
+ "locationName": "nsInstanceId",
+ "shape": "NsInstanceId"
+ }
+ },
+ "required": [
+ "nsInstanceId"
+ ],
+ "type": "structure"
+ },
+ "InstantiateSolNetworkInstanceOutput": {
+ "members": {
+ "nsLcmOpOccId": {
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "required": [
+ "nsLcmOpOccId"
+ ],
+ "type": "structure"
+ },
+ "InternalServerException": {
+ "error": {
+ "httpStatusCode": 500
+ },
+ "exception": true,
+ "fault": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "LcmOperationInfo": {
+ "members": {
+ "nsLcmOpOccId": {
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "required": [
+ "nsLcmOpOccId"
+ ],
+ "type": "structure"
+ },
+ "LcmOperationType": {
+ "enum": [
+ "INSTANTIATE",
+ "UPDATE",
+ "TERMINATE"
+ ],
+ "type": "string"
+ },
+ "ListSolFunctionInstanceInfo": {
+ "members": {
+ "arn": {
+ "shape": "VnfInstanceArn"
+ },
+ "id": {
+ "shape": "VnfInstanceId"
+ },
+ "instantiatedVnfInfo": {
+ "shape": "GetSolInstantiatedVnfInfo"
+ },
+ "instantiationState": {
+ "shape": "VnfInstantiationState"
+ },
+ "metadata": {
+ "shape": "ListSolFunctionInstanceMetadata"
+ },
+ "nsInstanceId": {
+ "shape": "NsInstanceId"
+ },
+ "vnfPkgId": {
+ "shape": "VnfPkgId"
+ },
+ "vnfPkgName": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "instantiationState",
+ "metadata",
+ "nsInstanceId",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "ListSolFunctionInstanceMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "ListSolFunctionInstanceResources": {
+ "member": {
+ "shape": "ListSolFunctionInstanceInfo"
+ },
+ "type": "list"
+ },
+ "ListSolFunctionInstancesInput": {
+ "members": {
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max_results",
+ "shape": "ListSolFunctionInstancesInputMaxResultsInteger"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextpage_opaque_marker",
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolFunctionInstancesInputMaxResultsInteger": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListSolFunctionInstancesOutput": {
+ "members": {
+ "functionInstances": {
+ "shape": "ListSolFunctionInstanceResources"
+ },
+ "nextToken": {
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolFunctionPackageInfo": {
+ "members": {
+ "arn": {
+ "shape": "VnfPkgArn"
+ },
+ "id": {
+ "shape": "VnfPkgId"
+ },
+ "metadata": {
+ "shape": "ListSolFunctionPackageMetadata"
+ },
+ "onboardingState": {
+ "shape": "OnboardingState"
+ },
+ "operationalState": {
+ "shape": "OperationalState"
+ },
+ "usageState": {
+ "shape": "UsageState"
+ },
+ "vnfProductName": {
+ "shape": "String"
+ },
+ "vnfProvider": {
+ "shape": "String"
+ },
+ "vnfdId": {
+ "shape": "String"
+ },
+ "vnfdVersion": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "onboardingState",
+ "operationalState",
+ "usageState"
+ ],
+ "type": "structure"
+ },
+ "ListSolFunctionPackageMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "ListSolFunctionPackageResources": {
+ "member": {
+ "shape": "ListSolFunctionPackageInfo"
+ },
+ "type": "list"
+ },
+ "ListSolFunctionPackagesInput": {
+ "members": {
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max_results",
+ "shape": "ListSolFunctionPackagesInputMaxResultsInteger"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextpage_opaque_marker",
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolFunctionPackagesInputMaxResultsInteger": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListSolFunctionPackagesOutput": {
+ "members": {
+ "functionPackages": {
+ "shape": "ListSolFunctionPackageResources"
+ },
+ "nextToken": {
+ "shape": "PaginationToken"
+ }
+ },
+ "required": [
+ "functionPackages"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkInstanceInfo": {
+ "members": {
+ "arn": {
+ "shape": "NsInstanceArn"
+ },
+ "id": {
+ "shape": "NsInstanceId"
+ },
+ "metadata": {
+ "shape": "ListSolNetworkInstanceMetadata"
+ },
+ "nsInstanceDescription": {
+ "shape": "String"
+ },
+ "nsInstanceName": {
+ "shape": "String"
+ },
+ "nsState": {
+ "shape": "NsState"
+ },
+ "nsdId": {
+ "shape": "NsdId"
+ },
+ "nsdInfoId": {
+ "shape": "NsdInfoId"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsInstanceDescription",
+ "nsInstanceName",
+ "nsState",
+ "nsdId",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkInstanceMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkInstanceResources": {
+ "member": {
+ "shape": "ListSolNetworkInstanceInfo"
+ },
+ "type": "list"
+ },
+ "ListSolNetworkInstancesInput": {
+ "members": {
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max_results",
+ "shape": "ListSolNetworkInstancesInputMaxResultsInteger"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextpage_opaque_marker",
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolNetworkInstancesInputMaxResultsInteger": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListSolNetworkInstancesOutput": {
+ "members": {
+ "networkInstances": {
+ "shape": "ListSolNetworkInstanceResources"
+ },
+ "nextToken": {
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolNetworkOperationsInfo": {
+ "members": {
+ "arn": {
+ "shape": "NsLcmOpOccArn"
+ },
+ "error": {
+ "shape": "ProblemDetails"
+ },
+ "id": {
+ "shape": "NsLcmOpOccId"
+ },
+ "lcmOperationType": {
+ "shape": "LcmOperationType"
+ },
+ "metadata": {
+ "shape": "ListSolNetworkOperationsMetadata"
+ },
+ "nsInstanceId": {
+ "shape": "NsInstanceId"
+ },
+ "operationState": {
+ "shape": "NsLcmOperationState"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "lcmOperationType",
+ "nsInstanceId",
+ "operationState"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkOperationsInput": {
+ "members": {
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max_results",
+ "shape": "ListSolNetworkOperationsInputMaxResultsInteger"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextpage_opaque_marker",
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolNetworkOperationsInputMaxResultsInteger": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListSolNetworkOperationsMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkOperationsOutput": {
+ "members": {
+ "networkOperations": {
+ "shape": "ListSolNetworkOperationsResources"
+ },
+ "nextToken": {
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolNetworkOperationsResources": {
+ "member": {
+ "shape": "ListSolNetworkOperationsInfo"
+ },
+ "type": "list"
+ },
+ "ListSolNetworkPackageInfo": {
+ "members": {
+ "arn": {
+ "shape": "NsdInfoArn"
+ },
+ "id": {
+ "shape": "NsdInfoId"
+ },
+ "metadata": {
+ "shape": "ListSolNetworkPackageMetadata"
+ },
+ "nsdDesigner": {
+ "shape": "String"
+ },
+ "nsdId": {
+ "shape": "String"
+ },
+ "nsdInvariantId": {
+ "shape": "String"
+ },
+ "nsdName": {
+ "shape": "String"
+ },
+ "nsdOnboardingState": {
+ "shape": "NsdOnboardingState"
+ },
+ "nsdOperationalState": {
+ "shape": "NsdOperationalState"
+ },
+ "nsdUsageState": {
+ "shape": "NsdUsageState"
+ },
+ "nsdVersion": {
+ "shape": "String"
+ },
+ "vnfPkgIds": {
+ "shape": "VnfPkgIdList"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsdOnboardingState",
+ "nsdOperationalState",
+ "nsdUsageState"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkPackageMetadata": {
+ "members": {
+ "createdAt": {
+ "shape": "SyntheticTimestamp_date_time"
+ },
+ "lastModified": {
+ "shape": "SyntheticTimestamp_date_time"
+ }
+ },
+ "required": [
+ "createdAt",
+ "lastModified"
+ ],
+ "type": "structure"
+ },
+ "ListSolNetworkPackageResources": {
+ "member": {
+ "shape": "ListSolNetworkPackageInfo"
+ },
+ "type": "list"
+ },
+ "ListSolNetworkPackagesInput": {
+ "members": {
+ "maxResults": {
+ "location": "querystring",
+ "locationName": "max_results",
+ "shape": "ListSolNetworkPackagesInputMaxResultsInteger"
+ },
+ "nextToken": {
+ "location": "querystring",
+ "locationName": "nextpage_opaque_marker",
+ "shape": "PaginationToken"
+ }
+ },
+ "type": "structure"
+ },
+ "ListSolNetworkPackagesInputMaxResultsInteger": {
+ "box": true,
+ "max": 100,
+ "min": 1,
+ "type": "integer"
+ },
+ "ListSolNetworkPackagesOutput": {
+ "members": {
+ "networkPackages": {
+ "shape": "ListSolNetworkPackageResources"
+ },
+ "nextToken": {
+ "shape": "PaginationToken"
+ }
+ },
+ "required": [
+ "networkPackages"
+ ],
+ "type": "structure"
+ },
+ "ListTagsForResourceInput": {
+ "members": {
+ "resourceArn": {
+ "location": "uri",
+ "locationName": "resourceArn",
+ "shape": "TNBResourceArn"
+ }
+ },
+ "required": [
+ "resourceArn"
+ ],
+ "type": "structure"
+ },
+ "ListTagsForResourceOutput": {
+ "members": {
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "tags"
+ ],
+ "type": "structure"
+ },
+ "NetworkArtifactMeta": {
+ "members": {
+ "overrides": {
+ "shape": "OverrideList"
+ }
+ },
+ "type": "structure"
+ },
+ "NsInstanceArn": {
+ "pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\\d{12}:(network-instance/ni-[a-f0-9]{17})$",
+ "type": "string"
+ },
+ "NsInstanceId": {
+ "pattern": "^ni-[a-f0-9]{17}$",
+ "type": "string"
+ },
+ "NsLcmOpOccArn": {
+ "pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\\d{12}:(network-operation/no-[a-f0-9]{17})$",
+ "type": "string"
+ },
+ "NsLcmOpOccId": {
+ "pattern": "^no-[a-f0-9]{17}$",
+ "type": "string"
+ },
+ "NsLcmOperationState": {
+ "enum": [
+ "PROCESSING",
+ "COMPLETED",
+ "FAILED",
+ "CANCELLING",
+ "CANCELLED"
+ ],
+ "type": "string"
+ },
+ "NsState": {
+ "enum": [
+ "INSTANTIATED",
+ "NOT_INSTANTIATED",
+ "IMPAIRED",
+ "STOPPED",
+ "DELETED",
+ "INSTANTIATE_IN_PROGRESS",
+ "UPDATE_IN_PROGRESS",
+ "TERMINATE_IN_PROGRESS"
+ ],
+ "type": "string"
+ },
+ "NsdId": {
+ "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
+ "type": "string"
+ },
+ "NsdInfoArn": {
+ "pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\\d{12}:(network-package/np-[a-f0-9]{17})$",
+ "type": "string"
+ },
+ "NsdInfoId": {
+ "pattern": "^np-[a-f0-9]{17}$",
+ "type": "string"
+ },
+ "NsdOnboardingState": {
+ "enum": [
+ "CREATED",
+ "ONBOARDED",
+ "ERROR"
+ ],
+ "type": "string"
+ },
+ "NsdOperationalState": {
+ "enum": [
+ "ENABLED",
+ "DISABLED"
+ ],
+ "type": "string"
+ },
+ "NsdUsageState": {
+ "enum": [
+ "IN_USE",
+ "NOT_IN_USE"
+ ],
+ "type": "string"
+ },
+ "OnboardingState": {
+ "enum": [
+ "CREATED",
+ "ONBOARDED",
+ "ERROR"
+ ],
+ "type": "string"
+ },
+ "OperationalState": {
+ "enum": [
+ "ENABLED",
+ "DISABLED"
+ ],
+ "type": "string"
+ },
+ "OverrideList": {
+ "member": {
+ "shape": "ToscaOverride"
+ },
+ "type": "list"
+ },
+ "PackageContentType": {
+ "enum": [
+ "application/zip"
+ ],
+ "type": "string"
+ },
+ "PaginationToken": {
+ "type": "string"
+ },
+ "ProblemDetails": {
+ "members": {
+ "detail": {
+ "shape": "String"
+ },
+ "title": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "detail"
+ ],
+ "type": "structure"
+ },
+ "PutSolFunctionPackageContentInput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "file": {
+ "shape": "Blob"
+ },
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "payload": "file",
+ "required": [
+ "file",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "PutSolFunctionPackageContentMetadata": {
+ "members": {
+ "vnfd": {
+ "shape": "FunctionArtifactMeta"
+ }
+ },
+ "type": "structure"
+ },
+ "PutSolFunctionPackageContentOutput": {
+ "members": {
+ "id": {
+ "shape": "VnfPkgId"
+ },
+ "metadata": {
+ "shape": "PutSolFunctionPackageContentMetadata"
+ },
+ "vnfProductName": {
+ "shape": "String"
+ },
+ "vnfProvider": {
+ "shape": "String"
+ },
+ "vnfdId": {
+ "shape": "VnfdId"
+ },
+ "vnfdVersion": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "id",
+ "metadata",
+ "vnfProductName",
+ "vnfProvider",
+ "vnfdId",
+ "vnfdVersion"
+ ],
+ "type": "structure"
+ },
+ "PutSolNetworkPackageContentInput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "file": {
+ "shape": "Blob"
+ },
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "payload": "file",
+ "required": [
+ "file",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "PutSolNetworkPackageContentMetadata": {
+ "members": {
+ "nsd": {
+ "shape": "NetworkArtifactMeta"
+ }
+ },
+ "type": "structure"
+ },
+ "PutSolNetworkPackageContentOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsdInfoArn"
+ },
+ "id": {
+ "shape": "NsdInfoId"
+ },
+ "metadata": {
+ "shape": "PutSolNetworkPackageContentMetadata"
+ },
+ "nsdId": {
+ "shape": "NsdId"
+ },
+ "nsdName": {
+ "shape": "String"
+ },
+ "nsdVersion": {
+ "shape": "String"
+ },
+ "vnfPkgIds": {
+ "shape": "VnfPkgIdList"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsdId",
+ "nsdName",
+ "nsdVersion",
+ "vnfPkgIds"
+ ],
+ "type": "structure"
+ },
+ "ResourceNotFoundException": {
+ "error": {
+ "httpStatusCode": 404,
+ "senderFault": true
+ },
+ "exception": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "ServiceQuotaExceededException": {
+ "error": {
+ "httpStatusCode": 402,
+ "senderFault": true
+ },
+ "exception": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "String": {
+ "type": "string"
+ },
+ "StringMap": {
+ "key": {
+ "shape": "String"
+ },
+ "type": "map",
+ "value": {
+ "shape": "String"
+ }
+ },
+ "SyntheticTimestamp_date_time": {
+ "timestampFormat": "iso8601",
+ "type": "timestamp"
+ },
+ "TNBResourceArn": {
+ "pattern": "^arn:aws:tnb:[a-z0-9-]+:[^:]*:.*$",
+ "type": "string"
+ },
+ "TagKey": {
+ "pattern": "^(?!aws:).{1,128}$",
+ "type": "string"
+ },
+ "TagKeys": {
+ "max": 200,
+ "member": {
+ "shape": "TagKey"
+ },
+ "min": 0,
+ "type": "list"
+ },
+ "TagMap": {
+ "key": {
+ "shape": "TagKey"
+ },
+ "max": 200,
+ "min": 0,
+ "sensitive": true,
+ "type": "map",
+ "value": {
+ "shape": "TagValue"
+ }
+ },
+ "TagResourceInput": {
+ "members": {
+ "resourceArn": {
+ "location": "uri",
+ "locationName": "resourceArn",
+ "shape": "TNBResourceArn"
+ },
+ "tags": {
+ "shape": "TagMap"
+ }
+ },
+ "required": [
+ "resourceArn",
+ "tags"
+ ],
+ "type": "structure"
+ },
+ "TagResourceOutput": {
+ "members": {},
+ "type": "structure"
+ },
+ "TagValue": {
+ "max": 256,
+ "min": 0,
+ "type": "string"
+ },
+ "TaskStatus": {
+ "enum": [
+ "SCHEDULED",
+ "STARTED",
+ "IN_PROGRESS",
+ "COMPLETED",
+ "ERROR",
+ "SKIPPED",
+ "CANCELLED"
+ ],
+ "type": "string"
+ },
+ "TerminateSolNetworkInstanceInput": {
+ "members": {
+ "nsInstanceId": {
+ "location": "uri",
+ "locationName": "nsInstanceId",
+ "shape": "NsInstanceId"
+ }
+ },
+ "required": [
+ "nsInstanceId"
+ ],
+ "type": "structure"
+ },
+ "TerminateSolNetworkInstanceOutput": {
+ "members": {
+ "nsLcmOpOccId": {
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "type": "structure"
+ },
+ "ThrottlingException": {
+ "error": {
+ "httpStatusCode": 429,
+ "senderFault": true
+ },
+ "exception": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "ToscaOverride": {
+ "members": {
+ "defaultValue": {
+ "shape": "String"
+ },
+ "name": {
+ "shape": "String"
+ }
+ },
+ "type": "structure"
+ },
+ "UntagResourceInput": {
+ "members": {
+ "resourceArn": {
+ "location": "uri",
+ "locationName": "resourceArn",
+ "shape": "TNBResourceArn"
+ },
+ "tagKeys": {
+ "location": "querystring",
+ "locationName": "tagKeys",
+ "shape": "TagKeys"
+ }
+ },
+ "required": [
+ "resourceArn",
+ "tagKeys"
+ ],
+ "type": "structure"
+ },
+ "UntagResourceOutput": {
+ "members": {},
+ "type": "structure"
+ },
+ "UpdateSolFunctionPackageInput": {
+ "members": {
+ "operationalState": {
+ "shape": "OperationalState"
+ },
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "required": [
+ "operationalState",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "UpdateSolFunctionPackageOutput": {
+ "members": {
+ "operationalState": {
+ "shape": "OperationalState"
+ }
+ },
+ "required": [
+ "operationalState"
+ ],
+ "type": "structure"
+ },
+ "UpdateSolNetworkInstanceInput": {
+ "members": {
+ "nsInstanceId": {
+ "location": "uri",
+ "locationName": "nsInstanceId",
+ "shape": "NsInstanceId"
+ },
+ "updateType": {
+ "shape": "UpdateSolNetworkType"
+ }
+ },
+ "required": [
+ "nsInstanceId",
+ "updateType"
+ ],
+ "type": "structure"
+ },
+ "UpdateSolNetworkInstanceOutput": {
+ "members": {
+ "nsLcmOpOccId": {
+ "shape": "NsLcmOpOccId"
+ }
+ },
+ "type": "structure"
+ },
+ "UpdateSolNetworkPackageInput": {
+ "members": {
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ },
+ "nsdOperationalState": {
+ "shape": "NsdOperationalState"
+ }
+ },
+ "required": [
+ "nsdInfoId",
+ "nsdOperationalState"
+ ],
+ "type": "structure"
+ },
+ "UpdateSolNetworkPackageOutput": {
+ "members": {
+ "nsdOperationalState": {
+ "shape": "NsdOperationalState"
+ }
+ },
+ "required": [
+ "nsdOperationalState"
+ ],
+ "type": "structure"
+ },
+ "UpdateSolNetworkType": {
+ "enum": [
+ "MODIFY_VNF_INFORMATION"
+ ],
+ "type": "string"
+ },
+ "UsageState": {
+ "enum": [
+ "IN_USE",
+ "NOT_IN_USE"
+ ],
+ "type": "string"
+ },
+ "ValidateSolFunctionPackageContentInput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "file": {
+ "shape": "Blob"
+ },
+ "vnfPkgId": {
+ "location": "uri",
+ "locationName": "vnfPkgId",
+ "shape": "VnfPkgId"
+ }
+ },
+ "payload": "file",
+ "required": [
+ "file",
+ "vnfPkgId"
+ ],
+ "type": "structure"
+ },
+ "ValidateSolFunctionPackageContentMetadata": {
+ "members": {
+ "vnfd": {
+ "shape": "FunctionArtifactMeta"
+ }
+ },
+ "type": "structure"
+ },
+ "ValidateSolFunctionPackageContentOutput": {
+ "members": {
+ "id": {
+ "shape": "VnfPkgId"
+ },
+ "metadata": {
+ "shape": "ValidateSolFunctionPackageContentMetadata"
+ },
+ "vnfProductName": {
+ "shape": "String"
+ },
+ "vnfProvider": {
+ "shape": "String"
+ },
+ "vnfdId": {
+ "shape": "VnfdId"
+ },
+ "vnfdVersion": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "id",
+ "metadata",
+ "vnfProductName",
+ "vnfProvider",
+ "vnfdId",
+ "vnfdVersion"
+ ],
+ "type": "structure"
+ },
+ "ValidateSolNetworkPackageContentInput": {
+ "members": {
+ "contentType": {
+ "location": "header",
+ "locationName": "Content-Type",
+ "shape": "PackageContentType"
+ },
+ "file": {
+ "shape": "Blob"
+ },
+ "nsdInfoId": {
+ "location": "uri",
+ "locationName": "nsdInfoId",
+ "shape": "NsdInfoId"
+ }
+ },
+ "payload": "file",
+ "required": [
+ "file",
+ "nsdInfoId"
+ ],
+ "type": "structure"
+ },
+ "ValidateSolNetworkPackageContentMetadata": {
+ "members": {
+ "nsd": {
+ "shape": "NetworkArtifactMeta"
+ }
+ },
+ "type": "structure"
+ },
+ "ValidateSolNetworkPackageContentOutput": {
+ "members": {
+ "arn": {
+ "shape": "NsdInfoArn"
+ },
+ "id": {
+ "shape": "NsdInfoId"
+ },
+ "metadata": {
+ "shape": "ValidateSolNetworkPackageContentMetadata"
+ },
+ "nsdId": {
+ "shape": "NsdId"
+ },
+ "nsdName": {
+ "shape": "String"
+ },
+ "nsdVersion": {
+ "shape": "String"
+ },
+ "vnfPkgIds": {
+ "shape": "VnfPkgIdList"
+ }
+ },
+ "required": [
+ "arn",
+ "id",
+ "metadata",
+ "nsdId",
+ "nsdName",
+ "nsdVersion",
+ "vnfPkgIds"
+ ],
+ "type": "structure"
+ },
+ "ValidationException": {
+ "error": {
+ "httpStatusCode": 400,
+ "senderFault": true
+ },
+ "exception": true,
+ "members": {
+ "message": {
+ "shape": "String"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "structure"
+ },
+ "VnfInstanceArn": {
+ "pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\\d{12}:(function-instance/fi-[a-f0-9]{17})$",
+ "type": "string"
+ },
+ "VnfInstanceId": {
+ "pattern": "^fi-[a-f0-9]{17}$",
+ "type": "string"
+ },
+ "VnfInstantiationState": {
+ "enum": [
+ "INSTANTIATED",
+ "NOT_INSTANTIATED"
+ ],
+ "type": "string"
+ },
+ "VnfOperationalState": {
+ "enum": [
+ "STARTED",
+ "STOPPED"
+ ],
+ "type": "string"
+ },
+ "VnfPkgArn": {
+ "pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-b|aws-us-gov):tnb:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]):\\d{12}:(function-package/fp-[a-f0-9]{17})$",
+ "type": "string"
+ },
+ "VnfPkgId": {
+ "pattern": "^fp-[a-f0-9]{17}$",
+ "type": "string"
+ },
+ "VnfPkgIdList": {
+ "member": {
+ "shape": "VnfPkgId"
+ },
+ "type": "list"
+ },
+ "VnfdId": {
+ "pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$",
+ "type": "string"
+ }
+ },
+ "version": "2.0"
+}
\ No newline at end of file
diff --git a/models/apis/tnb/2008-10-21/defaults-1.json b/models/apis/tnb/2008-10-21/defaults-1.json
new file mode 100644
index 00000000000..3549611be0f
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/defaults-1.json
@@ -0,0 +1,4 @@
+{
+ "added": {
+ }
+}
diff --git a/models/apis/tnb/2008-10-21/docs-2.json b/models/apis/tnb/2008-10-21/docs-2.json
new file mode 100644
index 00000000000..4d09812d97a
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/docs-2.json
@@ -0,0 +1,1116 @@
+{
+ "version": "2.0",
+ "service": " Amazon Web Services Telco Network Builder (TNB) is a network automation service that helps you deploy and manage telecom networks. AWS TNB helps you with the lifecycle management of your telecommunication network functions throughout planning, deployment, and post-deployment activities.
",
+ "operations": {
+ "CancelSolNetworkOperation": "Cancels a network operation.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "CreateSolFunctionPackage": "Creates a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network. For more information, see Function packages in the Amazon Web Services Telco Network Builder User Guide.
Creating a function package is the first step for creating a network in AWS TNB. This request creates an empty container with an ID. The next step is to upload the actual CSAR zip file into that empty container. To upload function package content, see PutSolFunctionPackageContent.
",
+ "CreateSolNetworkInstance": "Creates a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network package. For more information about network instances, Network instances in the Amazon Web Services Telco Network Builder User Guide.
Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance.
",
+ "CreateSolNetworkPackage": "Creates a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on. For more information, see Network instances in the Amazon Web Services Telco Network Builder User Guide.
A network package consists of a network service descriptor (NSD) file (required) and any additional files (optional), such as scripts specific to your needs. For example, if you have multiple function packages in your network package, you can use the NSD to define which network functions should run in certain VPCs, subnets, or EKS clusters.
This request creates an empty network package container with an ID. Once you create a network package, you can upload the network package content using PutSolNetworkPackageContent.
",
+ "DeleteSolFunctionPackage": "Deletes a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
To delete a function package, the package must be in a disabled state. To disable a function package, see UpdateSolFunctionPackage.
",
+ "DeleteSolNetworkInstance": "Deletes a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
To delete a network instance, the instance must be in a stopped or terminated state. To terminate a network instance, see TerminateSolNetworkInstance.
",
+ "DeleteSolNetworkPackage": "Deletes network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
To delete a network package, the package must be in a disable state. To disable a network package, see UpdateSolNetworkPackage.
",
+ "GetSolFunctionInstance": "Gets the details of a network function instance, including the instantation state and metadata from the function package descriptor in the network function package.
A network function instance is a function in a function package .
",
+ "GetSolFunctionPackage": "Gets the details of an individual function package, such as the operational state and whether the package is in use.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network..
",
+ "GetSolFunctionPackageContent": "Gets the contents of a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "GetSolFunctionPackageDescriptor": "Gets a function package descriptor in a function package.
A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how the network function in the function package should run on your network.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "GetSolNetworkInstance": "Gets the details of the network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "GetSolNetworkOperation": "Gets the details of a network operation, including the tasks involved in the network operation and the status of the tasks.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "GetSolNetworkPackage": "Gets the details of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "GetSolNetworkPackageContent": "Gets the contents of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "GetSolNetworkPackageDescriptor": "Gets the content of the network service descriptor.
A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.
",
+ "InstantiateSolNetworkInstance": "Instantiates a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
Before you can instantiate a network instance, you have to create a network instance. For more information, see CreateSolNetworkInstance.
",
+ "ListSolFunctionInstances": "Lists network function instances.
A network function instance is a function in a function package .
",
+ "ListSolFunctionPackages": "Lists information about function packages.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "ListSolNetworkInstances": "Lists your network instances.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "ListSolNetworkOperations": "Lists details for a network operation, including when the operation started and the status of the operation.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "ListSolNetworkPackages": "Lists network packages.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "ListTagsForResource": "Lists tags for AWS TNB resources.
",
+ "PutSolFunctionPackageContent": "Uploads the contents of a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "PutSolNetworkPackageContent": "Uploads the contents of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "TagResource": "Tags an AWS TNB resource.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "TerminateSolNetworkInstance": "Terminates a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
You must terminate a network instance before you can delete it.
",
+ "UntagResource": "Untags an AWS TNB resource.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "UpdateSolFunctionPackage": "Updates the operational state of function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "UpdateSolNetworkInstance": "Update a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "UpdateSolNetworkPackage": "Updates the operational state of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.
",
+ "ValidateSolFunctionPackageContent": "Validates function package content. This can be used as a dry run before uploading function package content with PutSolFunctionPackageContent.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "ValidateSolNetworkPackageContent": "Validates network package content. This can be used as a dry run before uploading network package content with PutSolNetworkPackageContent.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
"
+ },
+ "shapes": {
+ "AccessDeniedException": {
+ "base": "Insufficient permissions to make request.
",
+ "refs": {
+ }
+ },
+ "Blob": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionPackageContentOutput$packageContent": "Contents of the function package.
",
+ "GetSolFunctionPackageDescriptorOutput$vnfd": "Contents of the function package descriptor.
",
+ "GetSolNetworkPackageContentOutput$nsdContent": "Content of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageDescriptorOutput$nsd": "Contents of the network service descriptor in the network package.
",
+ "PutSolFunctionPackageContentInput$file": "Function package file.
",
+ "PutSolNetworkPackageContentInput$file": "Network package file.
",
+ "ValidateSolFunctionPackageContentInput$file": "Function package file.
",
+ "ValidateSolNetworkPackageContentInput$file": "Network package file.
"
+ }
+ },
+ "Boolean": {
+ "base": null,
+ "refs": {
+ "InstantiateSolNetworkInstanceInput$dryRun": "A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
"
+ }
+ },
+ "CancelSolNetworkOperationInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolFunctionPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolFunctionPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolNetworkInstanceInputNsDescriptionString": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkInstanceInput$nsDescription": "Network instance description.
"
+ }
+ },
+ "CreateSolNetworkInstanceInputNsNameString": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkInstanceInput$nsName": "Network instance name.
"
+ }
+ },
+ "CreateSolNetworkInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolNetworkPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateSolNetworkPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteSolFunctionPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteSolNetworkPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescriptorContentType": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionPackageDescriptorInput$accept": "Indicates which content types, expressed as MIME types, the client is able to understand.
",
+ "GetSolFunctionPackageDescriptorOutput$contentType": "Indicates the media type of the resource.
",
+ "GetSolNetworkPackageDescriptorOutput$contentType": "Indicates the media type of the resource.
"
+ }
+ },
+ "Document": {
+ "base": null,
+ "refs": {
+ "InstantiateSolNetworkInstanceInput$additionalParamsForNs": "Provides values for the configurable properties.
",
+ "UpdateSolNetworkModify$vnfConfigurableProperties": "Provides values for the configurable properties declared in the function package descriptor.
"
+ }
+ },
+ "ErrorCause": {
+ "base": null,
+ "refs": {
+ "ErrorInfo$cause": "Error cause.
"
+ }
+ },
+ "ErrorDetails": {
+ "base": null,
+ "refs": {
+ "ErrorInfo$details": "Error details.
"
+ }
+ },
+ "ErrorInfo": {
+ "base": "Provides error information.
",
+ "refs": {
+ "GetSolNetworkOperationTaskDetails$taskErrorDetails": "Task error details.
"
+ }
+ },
+ "FunctionArtifactMeta": {
+ "base": "Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
",
+ "refs": {
+ "GetSolFunctionPackageMetadata$vnfd": "Metadata related to the function package descriptor of the function package.
",
+ "PutSolFunctionPackageContentMetadata$vnfd": null,
+ "ValidateSolFunctionPackageContentMetadata$vnfd": null
+ }
+ },
+ "GetSolFunctionInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionInstanceMetadata": {
+ "base": "The metadata of a network function instance.
A network function instance is a function in a function package .
",
+ "refs": {
+ "GetSolFunctionInstanceOutput$metadata": null
+ }
+ },
+ "GetSolFunctionInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageDescriptorInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageDescriptorOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolFunctionPackageMetadata": {
+ "base": "Metadata related to the function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "refs": {
+ "GetSolFunctionPackageOutput$metadata": null
+ }
+ },
+ "GetSolFunctionPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolInstantiatedVnfInfo": {
+ "base": "Information about a network function.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "ListSolFunctionInstanceInfo$instantiatedVnfInfo": null
+ }
+ },
+ "GetSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkInstanceMetadata": {
+ "base": "The metadata of a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "GetSolNetworkInstanceOutput$metadata": null
+ }
+ },
+ "GetSolNetworkInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkOperationInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkOperationMetadata": {
+ "base": "Metadata related to a network operation occurence.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "refs": {
+ "GetSolNetworkOperationOutput$metadata": "Metadata of this network operation occurrence.
"
+ }
+ },
+ "GetSolNetworkOperationOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkOperationTaskDetails": {
+ "base": "Gets the details of a network operation.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "refs": {
+ "GetSolNetworkOperationTasksList$member": null
+ }
+ },
+ "GetSolNetworkOperationTasksList": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationOutput$tasks": "All tasks associated with this operation occurrence.
"
+ }
+ },
+ "GetSolNetworkPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkPackageDescriptorInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkPackageDescriptorOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolNetworkPackageMetadata": {
+ "base": "Metadata associated with a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "refs": {
+ "GetSolNetworkPackageOutput$metadata": null
+ }
+ },
+ "GetSolNetworkPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSolVnfInfo": {
+ "base": "Information about the network function.
A network function instance is a function in a function package .
",
+ "refs": {
+ "GetSolFunctionInstanceOutput$instantiatedVnfInfo": null
+ }
+ },
+ "GetSolVnfcResourceInfo": {
+ "base": "Details of resource associated with a network function.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "GetSolVnfcResourceInfoList$member": null
+ }
+ },
+ "GetSolVnfcResourceInfoList": {
+ "base": null,
+ "refs": {
+ "GetSolVnfInfo$vnfcResourceInfo": "Compute info used by the network function instance.
"
+ }
+ },
+ "GetSolVnfcResourceInfoMetadata": {
+ "base": "The metadata of a network function.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "GetSolVnfcResourceInfo$metadata": "The metadata of the network function compute.
"
+ }
+ },
+ "InstantiateSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "InstantiateSolNetworkInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "InternalServerException": {
+ "base": "Unexpected error occurred. Problem on the server.
",
+ "refs": {
+ }
+ },
+ "LcmOperationInfo": {
+ "base": "Lifecycle management operation details on the network instance.
Lifecycle management operations are deploy, update, or delete operations.
",
+ "refs": {
+ "GetSolNetworkInstanceOutput$lcmOpInfo": null
+ }
+ },
+ "LcmOperationType": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationOutput$lcmOperationType": "Type of the operation represented by this occurrence.
",
+ "ListSolNetworkOperationsInfo$lcmOperationType": "Type of lifecycle management network operation.
"
+ }
+ },
+ "ListSolFunctionInstanceInfo": {
+ "base": "Lists information about a network function instance.
A network function instance is a function in a function package .
",
+ "refs": {
+ "ListSolFunctionInstanceResources$member": null
+ }
+ },
+ "ListSolFunctionInstanceMetadata": {
+ "base": "Lists network function instance metadata.
A network function instance is a function in a function package .
",
+ "refs": {
+ "ListSolFunctionInstanceInfo$metadata": "Network function instance metadata.
"
+ }
+ },
+ "ListSolFunctionInstanceResources": {
+ "base": null,
+ "refs": {
+ "ListSolFunctionInstancesOutput$functionInstances": "Network function instances.
"
+ }
+ },
+ "ListSolFunctionInstancesInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolFunctionInstancesInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListSolFunctionInstancesInput$maxResults": "The maximum number of results to include in the response.
"
+ }
+ },
+ "ListSolFunctionInstancesOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolFunctionPackageInfo": {
+ "base": "Information about a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "refs": {
+ "ListSolFunctionPackageResources$member": null
+ }
+ },
+ "ListSolFunctionPackageMetadata": {
+ "base": "Details for the function package metadata.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "refs": {
+ "ListSolFunctionPackageInfo$metadata": "The metadata of the function package.
"
+ }
+ },
+ "ListSolFunctionPackageResources": {
+ "base": null,
+ "refs": {
+ "ListSolFunctionPackagesOutput$functionPackages": "Function packages. A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
"
+ }
+ },
+ "ListSolFunctionPackagesInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolFunctionPackagesInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListSolFunctionPackagesInput$maxResults": "The maximum number of results to include in the response.
"
+ }
+ },
+ "ListSolFunctionPackagesOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkInstanceInfo": {
+ "base": "Info about the specific network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "ListSolNetworkInstanceResources$member": null
+ }
+ },
+ "ListSolNetworkInstanceMetadata": {
+ "base": "Metadata details for a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
",
+ "refs": {
+ "ListSolNetworkInstanceInfo$metadata": "The metadata of the network instance.
"
+ }
+ },
+ "ListSolNetworkInstanceResources": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkInstancesOutput$networkInstances": "Lists network instances.
"
+ }
+ },
+ "ListSolNetworkInstancesInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkInstancesInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkInstancesInput$maxResults": "The maximum number of results to include in the response.
"
+ }
+ },
+ "ListSolNetworkInstancesOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkOperationsInfo": {
+ "base": "Information parameters for a network operation.
",
+ "refs": {
+ "ListSolNetworkOperationsResources$member": null
+ }
+ },
+ "ListSolNetworkOperationsInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkOperationsInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkOperationsInput$maxResults": "The maximum number of results to include in the response.
"
+ }
+ },
+ "ListSolNetworkOperationsMetadata": {
+ "base": "Metadata related to a network operation.
A network operation is any operation that is done to your network, such as network instance instantiation or termination.
",
+ "refs": {
+ "ListSolNetworkOperationsInfo$metadata": "Metadata related to this network operation.
"
+ }
+ },
+ "ListSolNetworkOperationsOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkOperationsResources": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkOperationsOutput$networkOperations": "Lists network operation occurrences. Lifecycle management operations are deploy, update, or delete operations.
"
+ }
+ },
+ "ListSolNetworkPackageInfo": {
+ "base": "Details of a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "refs": {
+ "ListSolNetworkPackageResources$member": null
+ }
+ },
+ "ListSolNetworkPackageMetadata": {
+ "base": "Metadata related to a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "refs": {
+ "ListSolNetworkPackageInfo$metadata": "The metadata of the network package.
"
+ }
+ },
+ "ListSolNetworkPackageResources": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkPackagesOutput$networkPackages": "Network packages. A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
"
+ }
+ },
+ "ListSolNetworkPackagesInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSolNetworkPackagesInputMaxResultsInteger": {
+ "base": null,
+ "refs": {
+ "ListSolNetworkPackagesInput$maxResults": "The maximum number of results to include in the response.
"
+ }
+ },
+ "ListSolNetworkPackagesOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListTagsForResourceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListTagsForResourceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "NetworkArtifactMeta": {
+ "base": "Metadata for network package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
",
+ "refs": {
+ "GetSolNetworkPackageMetadata$nsd": "Metadata related to the onboarded network service descriptor in the network package.
",
+ "PutSolNetworkPackageContentMetadata$nsd": null,
+ "ValidateSolNetworkPackageContentMetadata$nsd": null
+ }
+ },
+ "NsInstanceArn": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkInstanceOutput$arn": "Network instance ARN.
",
+ "GetSolNetworkInstanceOutput$arn": "Network instance ARN.
",
+ "ListSolNetworkInstanceInfo$arn": "Network instance ARN.
"
+ }
+ },
+ "NsInstanceId": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkInstanceOutput$id": "Network instance ID.
",
+ "DeleteSolNetworkInstanceInput$nsInstanceId": "Network instance ID.
",
+ "GetSolFunctionInstanceOutput$nsInstanceId": "Network instance ID.
",
+ "GetSolNetworkInstanceInput$nsInstanceId": "ID of the network instance.
",
+ "GetSolNetworkInstanceOutput$id": "Network instance ID.
",
+ "GetSolNetworkOperationOutput$nsInstanceId": "ID of the network operation instance.
",
+ "InstantiateSolNetworkInstanceInput$nsInstanceId": "ID of the network instance.
",
+ "ListSolFunctionInstanceInfo$nsInstanceId": "Network instance ID.
",
+ "ListSolNetworkInstanceInfo$id": "ID of the network instance.
",
+ "ListSolNetworkOperationsInfo$nsInstanceId": "ID of the network instance related to this operation.
",
+ "TerminateSolNetworkInstanceInput$nsInstanceId": "ID of the network instance.
",
+ "UpdateSolNetworkInstanceInput$nsInstanceId": "ID of the network instance.
"
+ }
+ },
+ "NsLcmOpOccArn": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationOutput$arn": "Network operation ARN.
",
+ "ListSolNetworkOperationsInfo$arn": "Network operation ARN.
"
+ }
+ },
+ "NsLcmOpOccId": {
+ "base": null,
+ "refs": {
+ "CancelSolNetworkOperationInput$nsLcmOpOccId": "The ID of a network operation occurrence.
",
+ "GetSolNetworkOperationInput$nsLcmOpOccId": "The identifier of the operation occurrence.
",
+ "GetSolNetworkOperationOutput$id": "ID of this network operation occurrence.
",
+ "InstantiateSolNetworkInstanceOutput$nsLcmOpOccId": "The identifier of the network instance.
",
+ "LcmOperationInfo$nsLcmOpOccId": "The identifier of the latest network lifecycle management operation occurrence.
",
+ "ListSolNetworkOperationsInfo$id": "ID of this network operation.
",
+ "TerminateSolNetworkInstanceOutput$nsLcmOpOccId": "The identifier of the operation occurrence.
",
+ "UpdateSolNetworkInstanceOutput$nsLcmOpOccId": "The identifier of the network instance operation occurrence.
"
+ }
+ },
+ "NsLcmOperationState": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationOutput$operationState": "The state of the network operation.
",
+ "ListSolNetworkOperationsInfo$operationState": "The state of the network operation.
"
+ }
+ },
+ "NsState": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkInstanceOutput$nsState": "Network instance state.
",
+ "ListSolNetworkInstanceInfo$nsState": "The state of the network instance.
"
+ }
+ },
+ "NsdId": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkInstanceOutput$nsdId": "Network service descriptor ID.
",
+ "GetSolNetworkPackageOutput$nsdId": "Network service descriptor ID.
",
+ "ListSolNetworkInstanceInfo$nsdId": "ID of the network service descriptor in the network package.
",
+ "PutSolNetworkPackageContentOutput$nsdId": "Network service descriptor ID.
",
+ "ValidateSolNetworkPackageContentOutput$nsdId": "Network service descriptor ID.
"
+ }
+ },
+ "NsdInfoArn": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkPackageOutput$arn": "Network package ARN.
",
+ "GetSolNetworkPackageOutput$arn": "Network package ARN.
",
+ "ListSolNetworkPackageInfo$arn": "Network package ARN.
",
+ "PutSolNetworkPackageContentOutput$arn": "Network package ARN.
",
+ "ValidateSolNetworkPackageContentOutput$arn": "Network package ARN.
"
+ }
+ },
+ "NsdInfoId": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkInstanceInput$nsdInfoId": "ID for network service descriptor.
",
+ "CreateSolNetworkInstanceOutput$nsdInfoId": "Network service descriptor ID.
",
+ "CreateSolNetworkPackageOutput$id": "ID of the network package.
",
+ "DeleteSolNetworkPackageInput$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "GetSolNetworkInstanceOutput$nsdInfoId": "Network service descriptor info ID.
",
+ "GetSolNetworkPackageContentInput$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageDescriptorInput$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageInput$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageOutput$id": "Network package ID.
",
+ "ListSolNetworkInstanceInfo$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "ListSolNetworkPackageInfo$id": "ID of the individual network package.
",
+ "PutSolNetworkPackageContentInput$nsdInfoId": "Network service descriptor info ID.
",
+ "PutSolNetworkPackageContentOutput$id": "Network package ID.
",
+ "UpdateSolNetworkPackageInput$nsdInfoId": "ID of the network service descriptor in the network package.
",
+ "ValidateSolNetworkPackageContentInput$nsdInfoId": "Network service descriptor file.
",
+ "ValidateSolNetworkPackageContentOutput$id": "Network package ID.
"
+ }
+ },
+ "NsdOnboardingState": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkPackageOutput$nsdOnboardingState": "Onboarding state of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageOutput$nsdOnboardingState": "Network service descriptor onboarding state.
",
+ "ListSolNetworkPackageInfo$nsdOnboardingState": "Onboarding state of the network service descriptor in the network package.
"
+ }
+ },
+ "NsdOperationalState": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkPackageOutput$nsdOperationalState": "Operational state of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageOutput$nsdOperationalState": "Network service descriptor operational state.
",
+ "ListSolNetworkPackageInfo$nsdOperationalState": "Operational state of the network service descriptor in the network package.
",
+ "UpdateSolNetworkPackageInput$nsdOperationalState": "Operational state of the network service descriptor in the network package.
",
+ "UpdateSolNetworkPackageOutput$nsdOperationalState": "Operational state of the network service descriptor in the network package.
"
+ }
+ },
+ "NsdUsageState": {
+ "base": null,
+ "refs": {
+ "CreateSolNetworkPackageOutput$nsdUsageState": "Usage state of the network service descriptor in the network package.
",
+ "GetSolNetworkPackageOutput$nsdUsageState": "Network service descriptor usage state.
",
+ "ListSolNetworkPackageInfo$nsdUsageState": "Usage state of the network service descriptor in the network package.
"
+ }
+ },
+ "OnboardingState": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageOutput$onboardingState": "Onboarding state of the function package.
",
+ "GetSolFunctionPackageOutput$onboardingState": "Function package onboarding state.
",
+ "ListSolFunctionPackageInfo$onboardingState": "Onboarding state of the function package.
"
+ }
+ },
+ "OperationalState": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageOutput$operationalState": "Operational state of the function package.
",
+ "GetSolFunctionPackageOutput$operationalState": "Function package operational state.
",
+ "ListSolFunctionPackageInfo$operationalState": "Operational state of the function package.
",
+ "UpdateSolFunctionPackageInput$operationalState": "Operational state of the function package.
",
+ "UpdateSolFunctionPackageOutput$operationalState": "Operational state of the function package.
"
+ }
+ },
+ "OverrideList": {
+ "base": null,
+ "refs": {
+ "FunctionArtifactMeta$overrides": "Lists of function package overrides.
",
+ "NetworkArtifactMeta$overrides": "Lists network package overrides.
"
+ }
+ },
+ "PackageContentType": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionPackageContentInput$accept": "The format of the package that you want to download from the function packages.
",
+ "GetSolFunctionPackageContentOutput$contentType": "Indicates the media type of the resource.
",
+ "GetSolNetworkPackageContentInput$accept": "The format of the package you want to download from the network package.
",
+ "GetSolNetworkPackageContentOutput$contentType": "Indicates the media type of the resource.
",
+ "PutSolFunctionPackageContentInput$contentType": "Function package content type.
",
+ "PutSolNetworkPackageContentInput$contentType": "Network package content type.
",
+ "ValidateSolFunctionPackageContentInput$contentType": "Function package content type.
",
+ "ValidateSolNetworkPackageContentInput$contentType": "Network package content type.
"
+ }
+ },
+ "PaginationToken": {
+ "base": null,
+ "refs": {
+ "ListSolFunctionInstancesInput$nextToken": "The token for the next page of results.
",
+ "ListSolFunctionInstancesOutput$nextToken": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
",
+ "ListSolFunctionPackagesInput$nextToken": "The token for the next page of results.
",
+ "ListSolFunctionPackagesOutput$nextToken": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
",
+ "ListSolNetworkInstancesInput$nextToken": "The token for the next page of results.
",
+ "ListSolNetworkInstancesOutput$nextToken": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
",
+ "ListSolNetworkOperationsInput$nextToken": "The token for the next page of results.
",
+ "ListSolNetworkOperationsOutput$nextToken": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
",
+ "ListSolNetworkPackagesInput$nextToken": "The token for the next page of results.
",
+ "ListSolNetworkPackagesOutput$nextToken": "The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
"
+ }
+ },
+ "ProblemDetails": {
+ "base": "Details related to problems with AWS TNB resources.
",
+ "refs": {
+ "GetSolNetworkOperationOutput$error": "Error related to this specific network operation occurence.
",
+ "ListSolNetworkOperationsInfo$error": "Error related to this specific network operation.
"
+ }
+ },
+ "PutSolFunctionPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutSolFunctionPackageContentMetadata": {
+ "base": "Update metadata in a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "refs": {
+ "PutSolFunctionPackageContentOutput$metadata": "Function package metadata.
"
+ }
+ },
+ "PutSolFunctionPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutSolNetworkPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutSolNetworkPackageContentMetadata": {
+ "base": "Update metadata in a network package.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "refs": {
+ "PutSolNetworkPackageContentOutput$metadata": "Network package metadata.
"
+ }
+ },
+ "PutSolNetworkPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ResourceNotFoundException": {
+ "base": "Request references a resource that doesn't exist.
",
+ "refs": {
+ }
+ },
+ "ServiceQuotaExceededException": {
+ "base": "Service quotas have been exceeded.
",
+ "refs": {
+ }
+ },
+ "String": {
+ "base": null,
+ "refs": {
+ "AccessDeniedException$message": null,
+ "CreateSolNetworkInstanceOutput$nsInstanceName": "Network instance name.
",
+ "GetSolFunctionInstanceOutput$vnfProductName": "Network function product name.
",
+ "GetSolFunctionInstanceOutput$vnfProvider": "Network function provider.
",
+ "GetSolFunctionInstanceOutput$vnfdVersion": "Function package descriptor version.
",
+ "GetSolFunctionPackageOutput$vnfProductName": "Network function product name.
",
+ "GetSolFunctionPackageOutput$vnfProvider": "Network function provider.
",
+ "GetSolFunctionPackageOutput$vnfdId": "Function package descriptor ID.
",
+ "GetSolFunctionPackageOutput$vnfdVersion": "Function package descriptor version.
",
+ "GetSolNetworkInstanceOutput$nsInstanceDescription": "Network instance description.
",
+ "GetSolNetworkInstanceOutput$nsInstanceName": "Network instance name.
",
+ "GetSolNetworkOperationTaskDetails$taskName": "Task name.
",
+ "GetSolNetworkPackageOutput$nsdName": "Network service descriptor name.
",
+ "GetSolNetworkPackageOutput$nsdVersion": "Network service descriptor version.
",
+ "GetSolVnfcResourceInfoMetadata$cluster": "Information about the cluster.
",
+ "GetSolVnfcResourceInfoMetadata$helmChart": "Information about the helm chart.
",
+ "GetSolVnfcResourceInfoMetadata$nodeGroup": "Information about the node group.
",
+ "InternalServerException$message": null,
+ "ListSolFunctionInstanceInfo$vnfPkgName": "Function package name.
",
+ "ListSolFunctionPackageInfo$vnfProductName": "The product name for the network function.
",
+ "ListSolFunctionPackageInfo$vnfProvider": "Provider of the function package and the function package descriptor.
",
+ "ListSolFunctionPackageInfo$vnfdId": "Identifies the function package and the function package descriptor.
",
+ "ListSolFunctionPackageInfo$vnfdVersion": "Identifies the version of the function package descriptor.
",
+ "ListSolNetworkInstanceInfo$nsInstanceDescription": "Human-readable description of the network instance.
",
+ "ListSolNetworkInstanceInfo$nsInstanceName": "Human-readable name of the network instance.
",
+ "ListSolNetworkPackageInfo$nsdDesigner": "Designer of the onboarded network service descriptor in the network package.
",
+ "ListSolNetworkPackageInfo$nsdId": "ID of the network service descriptor on which the network package is based.
",
+ "ListSolNetworkPackageInfo$nsdInvariantId": "Identifies a network service descriptor in a version independent manner.
",
+ "ListSolNetworkPackageInfo$nsdName": "Name of the onboarded network service descriptor in the network package.
",
+ "ListSolNetworkPackageInfo$nsdVersion": "Version of the onboarded network service descriptor in the network package.
",
+ "ProblemDetails$detail": "A human-readable explanation specific to this occurrence of the problem.
",
+ "ProblemDetails$title": "A human-readable title of the problem type.
",
+ "PutSolFunctionPackageContentOutput$vnfProductName": "Function product name.
",
+ "PutSolFunctionPackageContentOutput$vnfProvider": "Function provider.
",
+ "PutSolFunctionPackageContentOutput$vnfdVersion": "Function package descriptor version.
",
+ "PutSolNetworkPackageContentOutput$nsdName": "Network service descriptor name.
",
+ "PutSolNetworkPackageContentOutput$nsdVersion": "Network service descriptor version.
",
+ "ResourceNotFoundException$message": null,
+ "ServiceQuotaExceededException$message": null,
+ "StringMap$key": null,
+ "StringMap$value": null,
+ "ThrottlingException$message": null,
+ "ToscaOverride$defaultValue": "Default value for the override.
",
+ "ToscaOverride$name": "Name of the TOSCA override.
",
+ "ValidateSolFunctionPackageContentOutput$vnfProductName": "Network function product name.
",
+ "ValidateSolFunctionPackageContentOutput$vnfProvider": "Network function provider.
",
+ "ValidateSolFunctionPackageContentOutput$vnfdVersion": "Function package descriptor version.
",
+ "ValidateSolNetworkPackageContentOutput$nsdName": "Network service descriptor name.
",
+ "ValidateSolNetworkPackageContentOutput$nsdVersion": "Network service descriptor version.
",
+ "ValidationException$message": null
+ }
+ },
+ "StringMap": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationTaskDetails$taskContext": "Context for the network operation task.
"
+ }
+ },
+ "SyntheticTimestamp_date_time": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionInstanceMetadata$createdAt": "The date that the resource was created.
",
+ "GetSolFunctionInstanceMetadata$lastModified": "The date that the resource was last modified.
",
+ "GetSolFunctionPackageMetadata$createdAt": "The date that the resource was created.
",
+ "GetSolFunctionPackageMetadata$lastModified": "The date that the resource was last modified.
",
+ "GetSolNetworkInstanceMetadata$createdAt": "The date that the resource was created.
",
+ "GetSolNetworkInstanceMetadata$lastModified": "The date that the resource was last modified.
",
+ "GetSolNetworkOperationMetadata$createdAt": "The date that the resource was created.
",
+ "GetSolNetworkOperationMetadata$lastModified": "The date that the resource was last modified.
",
+ "GetSolNetworkOperationTaskDetails$taskEndTime": "Task end time.
",
+ "GetSolNetworkOperationTaskDetails$taskStartTime": "Task start time.
",
+ "GetSolNetworkPackageMetadata$createdAt": "The date that the resource was created.
",
+ "GetSolNetworkPackageMetadata$lastModified": "The date that the resource was last modified.
",
+ "ListSolFunctionInstanceMetadata$createdAt": "When the network function instance was created.
",
+ "ListSolFunctionInstanceMetadata$lastModified": "When the network function instance was last modified.
",
+ "ListSolFunctionPackageMetadata$createdAt": "The date that the resource was created.
",
+ "ListSolFunctionPackageMetadata$lastModified": "The date that the resource was last modified.
",
+ "ListSolNetworkInstanceMetadata$createdAt": "The date that the resource was created.
",
+ "ListSolNetworkInstanceMetadata$lastModified": "The date that the resource was last modified.
",
+ "ListSolNetworkOperationsMetadata$createdAt": "The date that the resource was created.
",
+ "ListSolNetworkOperationsMetadata$lastModified": "The date that the resource was last modified.
",
+ "ListSolNetworkPackageMetadata$createdAt": "The date that the resource was created.
",
+ "ListSolNetworkPackageMetadata$lastModified": "The date that the resource was last modified.
"
+ }
+ },
+ "TNBResourceArn": {
+ "base": null,
+ "refs": {
+ "ListTagsForResourceInput$resourceArn": "Resource ARN.
",
+ "TagResourceInput$resourceArn": "Resource ARN.
",
+ "UntagResourceInput$resourceArn": "Resource ARN.
"
+ }
+ },
+ "TagKey": {
+ "base": null,
+ "refs": {
+ "TagKeys$member": null,
+ "TagMap$key": null
+ }
+ },
+ "TagKeys": {
+ "base": null,
+ "refs": {
+ "UntagResourceInput$tagKeys": "Tag keys.
"
+ }
+ },
+ "TagMap": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageInput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "CreateSolFunctionPackageOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "CreateSolNetworkInstanceInput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "CreateSolNetworkInstanceOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "CreateSolNetworkPackageInput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "CreateSolNetworkPackageOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "GetSolFunctionInstanceOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "GetSolFunctionPackageOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "GetSolNetworkInstanceOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "GetSolNetworkOperationOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "GetSolNetworkPackageOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "ListTagsForResourceOutput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
",
+ "TagResourceInput$tags": "A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
"
+ }
+ },
+ "TagResourceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "TagResourceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "TagValue": {
+ "base": null,
+ "refs": {
+ "TagMap$value": null
+ }
+ },
+ "TaskStatus": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkOperationTaskDetails$taskStatus": "Task status.
"
+ }
+ },
+ "TerminateSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "TerminateSolNetworkInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ThrottlingException": {
+ "base": "Exception caused by throttling.
",
+ "refs": {
+ }
+ },
+ "ToscaOverride": {
+ "base": "Overrides of the TOSCA node.
",
+ "refs": {
+ "OverrideList$member": null
+ }
+ },
+ "UntagResourceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UntagResourceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolFunctionPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolFunctionPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolNetworkInstanceInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolNetworkInstanceOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolNetworkModify": {
+ "base": "Information parameters and/or the configurable properties for a network function.
A network function instance is a function in a function package .
",
+ "refs": {
+ "UpdateSolNetworkInstanceInput$modifyVnfInfoData": "Identifies the network function information parameters and/or the configurable properties of the network function to be modified.
"
+ }
+ },
+ "UpdateSolNetworkPackageInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolNetworkPackageOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateSolNetworkType": {
+ "base": null,
+ "refs": {
+ "UpdateSolNetworkInstanceInput$updateType": "The type of update.
"
+ }
+ },
+ "UsageState": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageOutput$usageState": "Usage state of the function package.
",
+ "GetSolFunctionPackageOutput$usageState": "Function package usage state.
",
+ "ListSolFunctionPackageInfo$usageState": "Usage state of the function package.
"
+ }
+ },
+ "ValidateSolFunctionPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ValidateSolFunctionPackageContentMetadata": {
+ "base": "Validates function package content metadata.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
",
+ "refs": {
+ "ValidateSolFunctionPackageContentOutput$metadata": "Function package metadata.
"
+ }
+ },
+ "ValidateSolFunctionPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ValidateSolNetworkPackageContentInput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ValidateSolNetworkPackageContentMetadata": {
+ "base": "Validates network package content metadata.
A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.
",
+ "refs": {
+ "ValidateSolNetworkPackageContentOutput$metadata": "Network package metadata.
"
+ }
+ },
+ "ValidateSolNetworkPackageContentOutput": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ValidationException": {
+ "base": "Unable to process the request because the client provided input failed to satisfy request constraints.
",
+ "refs": {
+ }
+ },
+ "VnfInstanceArn": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionInstanceOutput$arn": "Network function instance ARN.
",
+ "ListSolFunctionInstanceInfo$arn": "Network function instance ARN.
"
+ }
+ },
+ "VnfInstanceId": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionInstanceInput$vnfInstanceId": "ID of the network function.
",
+ "GetSolFunctionInstanceOutput$id": "Network function instance ID.
",
+ "ListSolFunctionInstanceInfo$id": "Network function instance ID.
",
+ "UpdateSolNetworkModify$vnfInstanceId": "ID of the network function instance.
A network function instance is a function in a function package .
"
+ }
+ },
+ "VnfInstantiationState": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionInstanceOutput$instantiationState": "Network function instantiation state.
",
+ "ListSolFunctionInstanceInfo$instantiationState": "Network function instance instantiation state.
"
+ }
+ },
+ "VnfOperationalState": {
+ "base": null,
+ "refs": {
+ "GetSolInstantiatedVnfInfo$vnfState": "State of the network function.
",
+ "GetSolVnfInfo$vnfState": "State of the network function instance.
"
+ }
+ },
+ "VnfPkgArn": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageOutput$arn": "Function package ARN.
",
+ "GetSolFunctionPackageOutput$arn": "Function package ARN.
",
+ "ListSolFunctionPackageInfo$arn": "Function package ARN.
"
+ }
+ },
+ "VnfPkgId": {
+ "base": null,
+ "refs": {
+ "CreateSolFunctionPackageOutput$id": "ID of the function package.
",
+ "DeleteSolFunctionPackageInput$vnfPkgId": "ID of the function package.
",
+ "GetSolFunctionInstanceOutput$vnfPkgId": "Function package ID.
",
+ "GetSolFunctionPackageContentInput$vnfPkgId": "ID of the function package.
",
+ "GetSolFunctionPackageDescriptorInput$vnfPkgId": "ID of the function package.
",
+ "GetSolFunctionPackageInput$vnfPkgId": "ID of the function package.
",
+ "GetSolFunctionPackageOutput$id": "Function package ID.
",
+ "ListSolFunctionInstanceInfo$vnfPkgId": "Function package ID.
",
+ "ListSolFunctionPackageInfo$id": "ID of the function package.
",
+ "PutSolFunctionPackageContentInput$vnfPkgId": "Function package ID.
",
+ "PutSolFunctionPackageContentOutput$id": "Function package ID.
",
+ "UpdateSolFunctionPackageInput$vnfPkgId": "ID of the function package.
",
+ "ValidateSolFunctionPackageContentInput$vnfPkgId": "Function package ID.
",
+ "ValidateSolFunctionPackageContentOutput$id": "Function package ID.
",
+ "VnfPkgIdList$member": null
+ }
+ },
+ "VnfPkgIdList": {
+ "base": null,
+ "refs": {
+ "GetSolNetworkPackageOutput$vnfPkgIds": "Identifies the function package for the function package descriptor referenced by the onboarded network package.
",
+ "ListSolNetworkPackageInfo$vnfPkgIds": "Identifies the function package for the function package descriptor referenced by the onboarded network package.
",
+ "PutSolNetworkPackageContentOutput$vnfPkgIds": "Function package IDs.
",
+ "ValidateSolNetworkPackageContentOutput$vnfPkgIds": "Function package IDs.
"
+ }
+ },
+ "VnfdId": {
+ "base": null,
+ "refs": {
+ "GetSolFunctionInstanceOutput$vnfdId": "Function package descriptor ID.
",
+ "PutSolFunctionPackageContentOutput$vnfdId": "Function package descriptor ID.
",
+ "ValidateSolFunctionPackageContentOutput$vnfdId": "Function package descriptor ID.
"
+ }
+ }
+ }
+}
diff --git a/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json b/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json
new file mode 100644
index 00000000000..bdbdea94cf4
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/endpoint-rule-set-1.json
@@ -0,0 +1,350 @@
+{
+ "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"
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "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"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "aws.partition",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ],
+ "assign": "PartitionResult"
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tnb-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": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tnb-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ]
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tnb.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "type": "tree",
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://tnb.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/models/apis/tnb/2008-10-21/endpoint-tests-1.json b/models/apis/tnb/2008-10-21/endpoint-tests-1.json
new file mode 100644
index 00000000000..777e258d27c
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/endpoint-tests-1.json
@@ -0,0 +1,295 @@
+{
+ "testCases": [
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-gov-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-gov-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-gov-east-1.api.aws"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-gov-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-gov-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-gov-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "cn-north-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "cn-north-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.cn-north-1.api.amazonwebservices.com.cn"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "cn-north-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.cn-north-1.amazonaws.com.cn"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "cn-north-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-iso-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-iso-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-iso-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-iso-east-1.c2s.ic.gov"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-iso-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-east-1.api.aws"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-east-1.amazonaws.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
+ "expect": {
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-isob-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb-fips.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "UseFIPS": true,
+ "Region": "us-isob-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
+ "expect": {
+ "error": "DualStack is enabled but this partition does not support DualStack"
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-isob-east-1",
+ "UseDualStack": true
+ }
+ },
+ {
+ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://tnb.us-isob-east-1.sc2s.sgov.gov"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-isob-east-1",
+ "UseDualStack": false
+ }
+ },
+ {
+ "documentation": "For custom endpoint with fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
+ "Region": "us-east-1",
+ "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": {
+ "UseFIPS": true,
+ "Region": "us-east-1",
+ "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": {
+ "UseFIPS": false,
+ "Region": "us-east-1",
+ "UseDualStack": true,
+ "Endpoint": "https://example.com"
+ }
+ }
+ ],
+ "version": "1.0"
+}
\ No newline at end of file
diff --git a/models/apis/tnb/2008-10-21/examples-1.json b/models/apis/tnb/2008-10-21/examples-1.json
new file mode 100644
index 00000000000..0ea7e3b0bbe
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/examples-1.json
@@ -0,0 +1,5 @@
+{
+ "version": "1.0",
+ "examples": {
+ }
+}
diff --git a/models/apis/tnb/2008-10-21/paginators-1.json b/models/apis/tnb/2008-10-21/paginators-1.json
new file mode 100644
index 00000000000..18ac477bf60
--- /dev/null
+++ b/models/apis/tnb/2008-10-21/paginators-1.json
@@ -0,0 +1,34 @@
+{
+ "pagination": {
+ "ListSolFunctionInstances": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "functionInstances"
+ },
+ "ListSolFunctionPackages": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "functionPackages"
+ },
+ "ListSolNetworkInstances": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "networkInstances"
+ },
+ "ListSolNetworkOperations": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "networkOperations"
+ },
+ "ListSolNetworkPackages": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "networkPackages"
+ }
+ }
+}
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index 7fc0bde6f75..c558f717030 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -8470,6 +8470,7 @@
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
+ "me-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
"us-east-1" : { },
diff --git a/service/quicksight/api.go b/service/quicksight/api.go
index 39f7cb05c26..2035902691d 100644
--- a/service/quicksight/api.go
+++ b/service/quicksight/api.go
@@ -63700,6 +63700,14 @@ type S3Parameters struct {
//
// ManifestFileLocation is a required field
ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"`
+
+ // Use the RoleArn structure to override an account-wide role for a specific
+ // S3 data source. For example, say an account administrator has turned off
+ // all S3 access with an account-wide role. The administrator can then use RoleArn
+ // to bypass the account-wide role and allow S3 access for the single S3 data
+ // source that is specified in the structure, even if the account-wide role
+ // forbidding S3 access is still active.
+ RoleArn *string `min:"20" type:"string"`
}
// String returns the string representation.
@@ -63726,6 +63734,9 @@ func (s *S3Parameters) Validate() error {
if s.ManifestFileLocation == nil {
invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation"))
}
+ if s.RoleArn != nil && len(*s.RoleArn) < 20 {
+ invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
+ }
if s.ManifestFileLocation != nil {
if err := s.ManifestFileLocation.Validate(); err != nil {
invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams))
@@ -63744,6 +63755,12 @@ func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Param
return s
}
+// SetRoleArn sets the RoleArn field's value.
+func (s *S3Parameters) SetRoleArn(v string) *S3Parameters {
+ s.RoleArn = &v
+ return s
+}
+
// A physical table type for an S3 data source.
type S3Source struct {
_ struct{} `type:"structure"`
diff --git a/service/resiliencehub/api.go b/service/resiliencehub/api.go
index 7cdd733bb63..5243253a15d 100644
--- a/service/resiliencehub/api.go
+++ b/service/resiliencehub/api.go
@@ -56,7 +56,8 @@ func (c *ResilienceHub) AddDraftAppVersionResourceMappingsRequest(input *AddDraf
// AddDraftAppVersionResourceMappings API operation for AWS Resilience Hub.
//
-// Adds the resource mapping for the draft application version.
+// Adds the resource mapping for the draft application version. You can also
+// update an existing resource mapping to a new physical resource.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -72,19 +73,20 @@ func (c *ResilienceHub) AddDraftAppVersionResourceMappingsRequest(input *AddDraf
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
@@ -156,17 +158,17 @@ func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Re
// CreateApp API operation for AWS Resilience Hub.
//
-// Creates a Resilience Hub application. A Resilience Hub application is a collection
-// of Amazon Web Services resources structured to prevent and recover Amazon
-// Web Services application disruptions. To describe a Resilience Hub application,
-// you provide an application name, resources from one or more–up to five–CloudFormation
-// stacks, and an appropriate resiliency policy.
+// Creates an AWS Resilience Hub application. An AWS Resilience Hub application
+// is a collection of Amazon Web Services resources structured to prevent and
+// recover Amazon Web Services application disruptions. To describe a AWS Resilience
+// Hub application, you provide an application name, resources from one or more–up
+// to five–CloudFormation stacks, and an appropriate resiliency policy.
//
-// After you create a Resilience Hub application, you publish it so that you
-// can run a resiliency assessment on it. You can then use recommendations from
-// the assessment to improve resiliency by running another assessment, comparing
-// results, and then iterating the process until you achieve your goals for
-// recovery time objective (RTO) and recovery point objective (RPO).
+// After you create an AWS Resilience Hub application, you publish it so that
+// you can run a resiliency assessment on it. You can then use recommendations
+// from the assessment to improve resiliency by running another assessment,
+// comparing results, and then iterating the process until you achieve your
+// goals for recovery time objective (RTO) and recovery point objective (RPO).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -182,24 +184,25 @@ func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Re
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ServiceQuotaExceededException
-// You have exceeded your service quota. To perform the requested action, remove
-// some of the relevant resources, or use Service Quotas to request a service
-// quota increase.
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
@@ -228,6 +231,233 @@ func (c *ResilienceHub) CreateAppWithContext(ctx aws.Context, input *CreateAppIn
return out, req.Send()
}
+const opCreateAppVersionAppComponent = "CreateAppVersionAppComponent"
+
+// CreateAppVersionAppComponentRequest generates a "aws/request.Request" representing the
+// client's request for the CreateAppVersionAppComponent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateAppVersionAppComponent for more information on using the CreateAppVersionAppComponent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateAppVersionAppComponentRequest method.
+// req, resp := client.CreateAppVersionAppComponentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponent
+func (c *ResilienceHub) CreateAppVersionAppComponentRequest(input *CreateAppVersionAppComponentInput) (req *request.Request, output *CreateAppVersionAppComponentOutput) {
+ op := &request.Operation{
+ Name: opCreateAppVersionAppComponent,
+ HTTPMethod: "POST",
+ HTTPPath: "/create-app-version-app-component",
+ }
+
+ if input == nil {
+ input = &CreateAppVersionAppComponentInput{}
+ }
+
+ output = &CreateAppVersionAppComponentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateAppVersionAppComponent API operation for AWS Resilience Hub.
+//
+// Creates a new Application Component in the AWS Resilience Hub application.
+//
+// This API updates the AWS Resilience Hub application draft version. To use
+// this Application Component for running assessments, you must publish the
+// AWS Resilience Hub application using the PublishAppVersion API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation CreateAppVersionAppComponent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ServiceQuotaExceededException
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponent
+func (c *ResilienceHub) CreateAppVersionAppComponent(input *CreateAppVersionAppComponentInput) (*CreateAppVersionAppComponentOutput, error) {
+ req, out := c.CreateAppVersionAppComponentRequest(input)
+ return out, req.Send()
+}
+
+// CreateAppVersionAppComponentWithContext is the same as CreateAppVersionAppComponent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateAppVersionAppComponent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) CreateAppVersionAppComponentWithContext(ctx aws.Context, input *CreateAppVersionAppComponentInput, opts ...request.Option) (*CreateAppVersionAppComponentOutput, error) {
+ req, out := c.CreateAppVersionAppComponentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opCreateAppVersionResource = "CreateAppVersionResource"
+
+// CreateAppVersionResourceRequest generates a "aws/request.Request" representing the
+// client's request for the CreateAppVersionResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateAppVersionResource for more information on using the CreateAppVersionResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateAppVersionResourceRequest method.
+// req, resp := client.CreateAppVersionResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResource
+func (c *ResilienceHub) CreateAppVersionResourceRequest(input *CreateAppVersionResourceInput) (req *request.Request, output *CreateAppVersionResourceOutput) {
+ op := &request.Operation{
+ Name: opCreateAppVersionResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/create-app-version-resource",
+ }
+
+ if input == nil {
+ input = &CreateAppVersionResourceInput{}
+ }
+
+ output = &CreateAppVersionResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateAppVersionResource API operation for AWS Resilience Hub.
+//
+// Adds a resource to the AWS Resilience Hub applicationand assigns it to the
+// specified Application Components. If you specify a new Application Component,
+// AWS Resilience Hub will automatically create the Application Component.
+//
+// - This action has no effect outside AWS Resilience Hub.
+//
+// - This API updates the AWS Resilience Hub application draft version. To
+// use this resource for running resiliency assessments, you must publish
+// the AWS Resilience Hub application using the PublishAppVersion API.
+//
+// - To update application version with new physicalResourceID, you must
+// call ResolveAppVersionResources API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation CreateAppVersionResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ServiceQuotaExceededException
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResource
+func (c *ResilienceHub) CreateAppVersionResource(input *CreateAppVersionResourceInput) (*CreateAppVersionResourceOutput, error) {
+ req, out := c.CreateAppVersionResourceRequest(input)
+ return out, req.Send()
+}
+
+// CreateAppVersionResourceWithContext is the same as CreateAppVersionResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateAppVersionResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) CreateAppVersionResourceWithContext(ctx aws.Context, input *CreateAppVersionResourceInput, opts ...request.Option) (*CreateAppVersionResourceOutput, error) {
+ req, out := c.CreateAppVersionResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
const opCreateRecommendationTemplate = "CreateRecommendationTemplate"
// CreateRecommendationTemplateRequest generates a "aws/request.Request" representing the
@@ -271,7 +501,7 @@ func (c *ResilienceHub) CreateRecommendationTemplateRequest(input *CreateRecomme
// CreateRecommendationTemplate API operation for AWS Resilience Hub.
//
-// Creates a new recommendation template.
+// Creates a new recommendation template for the AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
@@ -287,19 +517,25 @@ func (c *ResilienceHub) CreateRecommendationTemplateRequest(input *CreateRecomme
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ServiceQuotaExceededException
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
@@ -387,21 +623,22 @@ func (c *ResilienceHub) CreateResiliencyPolicyRequest(input *CreateResiliencyPol
// Hub service.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ServiceQuotaExceededException
-// You have exceeded your service quota. To perform the requested action, remove
-// some of the relevant resources, or use Service Quotas to request a service
-// quota increase.
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
@@ -490,19 +727,20 @@ func (c *ResilienceHub) DeleteAppRequest(input *DeleteAppInput) (req *request.Re
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteApp
func (c *ResilienceHub) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
@@ -586,19 +824,20 @@ func (c *ResilienceHub) DeleteAppAssessmentRequest(input *DeleteAppAssessmentInp
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
@@ -627,58 +866,58 @@ func (c *ResilienceHub) DeleteAppAssessmentWithContext(ctx aws.Context, input *D
return out, req.Send()
}
-const opDeleteRecommendationTemplate = "DeleteRecommendationTemplate"
+const opDeleteAppInputSource = "DeleteAppInputSource"
-// DeleteRecommendationTemplateRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteRecommendationTemplate operation. The "output" return
+// DeleteAppInputSourceRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteAppInputSource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteRecommendationTemplate for more information on using the DeleteRecommendationTemplate
+// See DeleteAppInputSource for more information on using the DeleteAppInputSource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteRecommendationTemplateRequest method.
-// req, resp := client.DeleteRecommendationTemplateRequest(params)
+// // Example sending a request using the DeleteAppInputSourceRequest method.
+// req, resp := client.DeleteAppInputSourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate
-func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecommendationTemplateInput) (req *request.Request, output *DeleteRecommendationTemplateOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSource
+func (c *ResilienceHub) DeleteAppInputSourceRequest(input *DeleteAppInputSourceInput) (req *request.Request, output *DeleteAppInputSourceOutput) {
op := &request.Operation{
- Name: opDeleteRecommendationTemplate,
+ Name: opDeleteAppInputSource,
HTTPMethod: "POST",
- HTTPPath: "/delete-recommendation-template",
+ HTTPPath: "/delete-app-input-source",
}
if input == nil {
- input = &DeleteRecommendationTemplateInput{}
+ input = &DeleteAppInputSourceInput{}
}
- output = &DeleteRecommendationTemplateOutput{}
+ output = &DeleteAppInputSourceOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteRecommendationTemplate API operation for AWS Resilience Hub.
+// DeleteAppInputSource API operation for AWS Resilience Hub.
//
-// Deletes a recommendation template. This is a destructive action that can't
-// be undone.
+// Deletes the input source and all of its imported resources from the AWS Resilience
+// Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DeleteRecommendationTemplate for usage and error information.
+// API operation DeleteAppInputSource for usage and error information.
//
// Returned Error Types:
//
@@ -687,92 +926,106 @@ func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecomme
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate
-func (c *ResilienceHub) DeleteRecommendationTemplate(input *DeleteRecommendationTemplateInput) (*DeleteRecommendationTemplateOutput, error) {
- req, out := c.DeleteRecommendationTemplateRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSource
+func (c *ResilienceHub) DeleteAppInputSource(input *DeleteAppInputSourceInput) (*DeleteAppInputSourceOutput, error) {
+ req, out := c.DeleteAppInputSourceRequest(input)
return out, req.Send()
}
-// DeleteRecommendationTemplateWithContext is the same as DeleteRecommendationTemplate with the addition of
+// DeleteAppInputSourceWithContext is the same as DeleteAppInputSource with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteRecommendationTemplate for details on how to use this API operation.
+// See DeleteAppInputSource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DeleteRecommendationTemplateWithContext(ctx aws.Context, input *DeleteRecommendationTemplateInput, opts ...request.Option) (*DeleteRecommendationTemplateOutput, error) {
- req, out := c.DeleteRecommendationTemplateRequest(input)
+func (c *ResilienceHub) DeleteAppInputSourceWithContext(ctx aws.Context, input *DeleteAppInputSourceInput, opts ...request.Option) (*DeleteAppInputSourceOutput, error) {
+ req, out := c.DeleteAppInputSourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDeleteResiliencyPolicy = "DeleteResiliencyPolicy"
+const opDeleteAppVersionAppComponent = "DeleteAppVersionAppComponent"
-// DeleteResiliencyPolicyRequest generates a "aws/request.Request" representing the
-// client's request for the DeleteResiliencyPolicy operation. The "output" return
+// DeleteAppVersionAppComponentRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteAppVersionAppComponent operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DeleteResiliencyPolicy for more information on using the DeleteResiliencyPolicy
+// See DeleteAppVersionAppComponent for more information on using the DeleteAppVersionAppComponent
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DeleteResiliencyPolicyRequest method.
-// req, resp := client.DeleteResiliencyPolicyRequest(params)
+// // Example sending a request using the DeleteAppVersionAppComponentRequest method.
+// req, resp := client.DeleteAppVersionAppComponentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy
-func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPolicyInput) (req *request.Request, output *DeleteResiliencyPolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponent
+func (c *ResilienceHub) DeleteAppVersionAppComponentRequest(input *DeleteAppVersionAppComponentInput) (req *request.Request, output *DeleteAppVersionAppComponentOutput) {
op := &request.Operation{
- Name: opDeleteResiliencyPolicy,
+ Name: opDeleteAppVersionAppComponent,
HTTPMethod: "POST",
- HTTPPath: "/delete-resiliency-policy",
+ HTTPPath: "/delete-app-version-app-component",
}
if input == nil {
- input = &DeleteResiliencyPolicyInput{}
+ input = &DeleteAppVersionAppComponentInput{}
}
- output = &DeleteResiliencyPolicyOutput{}
+ output = &DeleteAppVersionAppComponentOutput{}
req = c.newRequest(op, input, output)
return
}
-// DeleteResiliencyPolicy API operation for AWS Resilience Hub.
+// DeleteAppVersionAppComponent API operation for AWS Resilience Hub.
//
-// Deletes a resiliency policy. This is a destructive action that can't be undone.
+// Deletes an Application Component from the AWS Resilience Hub application.
+//
+// - This API updates the AWS Resilience Hub application draft version. To
+// use this Application Component for running assessments, you must publish
+// the AWS Resilience Hub application using the PublishAppVersion API.
+//
+// - You will not be able to delete an Application Component if it has resources
+// associated with it.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DeleteResiliencyPolicy for usage and error information.
+// API operation DeleteAppVersionAppComponent for usage and error information.
//
// Returned Error Types:
//
@@ -781,98 +1034,108 @@ func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPol
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy
-func (c *ResilienceHub) DeleteResiliencyPolicy(input *DeleteResiliencyPolicyInput) (*DeleteResiliencyPolicyOutput, error) {
- req, out := c.DeleteResiliencyPolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponent
+func (c *ResilienceHub) DeleteAppVersionAppComponent(input *DeleteAppVersionAppComponentInput) (*DeleteAppVersionAppComponentOutput, error) {
+ req, out := c.DeleteAppVersionAppComponentRequest(input)
return out, req.Send()
}
-// DeleteResiliencyPolicyWithContext is the same as DeleteResiliencyPolicy with the addition of
+// DeleteAppVersionAppComponentWithContext is the same as DeleteAppVersionAppComponent with the addition of
// the ability to pass a context and additional request options.
//
-// See DeleteResiliencyPolicy for details on how to use this API operation.
+// See DeleteAppVersionAppComponent for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DeleteResiliencyPolicyWithContext(ctx aws.Context, input *DeleteResiliencyPolicyInput, opts ...request.Option) (*DeleteResiliencyPolicyOutput, error) {
- req, out := c.DeleteResiliencyPolicyRequest(input)
+func (c *ResilienceHub) DeleteAppVersionAppComponentWithContext(ctx aws.Context, input *DeleteAppVersionAppComponentInput, opts ...request.Option) (*DeleteAppVersionAppComponentOutput, error) {
+ req, out := c.DeleteAppVersionAppComponentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeApp = "DescribeApp"
+const opDeleteAppVersionResource = "DeleteAppVersionResource"
-// DescribeAppRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeApp operation. The "output" return
+// DeleteAppVersionResourceRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteAppVersionResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeApp for more information on using the DescribeApp
+// See DeleteAppVersionResource for more information on using the DeleteAppVersionResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAppRequest method.
-// req, resp := client.DescribeAppRequest(params)
+// // Example sending a request using the DeleteAppVersionResourceRequest method.
+// req, resp := client.DeleteAppVersionResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp
-func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResource
+func (c *ResilienceHub) DeleteAppVersionResourceRequest(input *DeleteAppVersionResourceInput) (req *request.Request, output *DeleteAppVersionResourceOutput) {
op := &request.Operation{
- Name: opDescribeApp,
+ Name: opDeleteAppVersionResource,
HTTPMethod: "POST",
- HTTPPath: "/describe-app",
+ HTTPPath: "/delete-app-version-resource",
}
if input == nil {
- input = &DescribeAppInput{}
+ input = &DeleteAppVersionResourceInput{}
}
- output = &DescribeAppOutput{}
+ output = &DeleteAppVersionResourceOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeApp API operation for AWS Resilience Hub.
+// DeleteAppVersionResource API operation for AWS Resilience Hub.
//
-// Describes an AWS Resilience Hub application.
+// Deletes a resource from the AWS Resilience Hub application.
+//
+// - You can only delete a manually added resource. To exclude non-manually
+// added resources, use the UpdateAppVersionResource API.
+//
+// - This action has no effect outside AWS Resilience Hub.
+//
+// - This API updates the AWS Resilience Hub application draft version. To
+// use this resource for running resiliency assessments, you must publish
+// the AWS Resilience Hub application using the PublishAppVersion API.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeApp for usage and error information.
+// API operation DeleteAppVersionResource for usage and error information.
//
// Returned Error Types:
//
@@ -881,92 +1144,100 @@ func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *reques
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp
-func (c *ResilienceHub) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
- req, out := c.DescribeAppRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResource
+func (c *ResilienceHub) DeleteAppVersionResource(input *DeleteAppVersionResourceInput) (*DeleteAppVersionResourceOutput, error) {
+ req, out := c.DeleteAppVersionResourceRequest(input)
return out, req.Send()
}
-// DescribeAppWithContext is the same as DescribeApp with the addition of
+// DeleteAppVersionResourceWithContext is the same as DeleteAppVersionResource with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeApp for details on how to use this API operation.
+// See DeleteAppVersionResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
- req, out := c.DescribeAppRequest(input)
+func (c *ResilienceHub) DeleteAppVersionResourceWithContext(ctx aws.Context, input *DeleteAppVersionResourceInput, opts ...request.Option) (*DeleteAppVersionResourceOutput, error) {
+ req, out := c.DeleteAppVersionResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAppAssessment = "DescribeAppAssessment"
+const opDeleteRecommendationTemplate = "DeleteRecommendationTemplate"
-// DescribeAppAssessmentRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAppAssessment operation. The "output" return
+// DeleteRecommendationTemplateRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteRecommendationTemplate operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAppAssessment for more information on using the DescribeAppAssessment
+// See DeleteRecommendationTemplate for more information on using the DeleteRecommendationTemplate
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAppAssessmentRequest method.
-// req, resp := client.DescribeAppAssessmentRequest(params)
+// // Example sending a request using the DeleteRecommendationTemplateRequest method.
+// req, resp := client.DeleteRecommendationTemplateRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment
-func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmentInput) (req *request.Request, output *DescribeAppAssessmentOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate
+func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecommendationTemplateInput) (req *request.Request, output *DeleteRecommendationTemplateOutput) {
op := &request.Operation{
- Name: opDescribeAppAssessment,
+ Name: opDeleteRecommendationTemplate,
HTTPMethod: "POST",
- HTTPPath: "/describe-app-assessment",
+ HTTPPath: "/delete-recommendation-template",
}
if input == nil {
- input = &DescribeAppAssessmentInput{}
+ input = &DeleteRecommendationTemplateInput{}
}
- output = &DescribeAppAssessmentOutput{}
+ output = &DeleteRecommendationTemplateOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeAppAssessment API operation for AWS Resilience Hub.
-//
-// Describes an assessment for an AWS Resilience Hub application.
+// DeleteRecommendationTemplate API operation for AWS Resilience Hub.
+//
+// Deletes a recommendation template. This is a destructive action that can't
+// be undone.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeAppAssessment for usage and error information.
+// API operation DeleteRecommendationTemplate for usage and error information.
//
// Returned Error Types:
//
@@ -975,94 +1246,93 @@ func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmen
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment
-func (c *ResilienceHub) DescribeAppAssessment(input *DescribeAppAssessmentInput) (*DescribeAppAssessmentOutput, error) {
- req, out := c.DescribeAppAssessmentRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate
+func (c *ResilienceHub) DeleteRecommendationTemplate(input *DeleteRecommendationTemplateInput) (*DeleteRecommendationTemplateOutput, error) {
+ req, out := c.DeleteRecommendationTemplateRequest(input)
return out, req.Send()
}
-// DescribeAppAssessmentWithContext is the same as DescribeAppAssessment with the addition of
+// DeleteRecommendationTemplateWithContext is the same as DeleteRecommendationTemplate with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAppAssessment for details on how to use this API operation.
+// See DeleteRecommendationTemplate for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeAppAssessmentWithContext(ctx aws.Context, input *DescribeAppAssessmentInput, opts ...request.Option) (*DescribeAppAssessmentOutput, error) {
- req, out := c.DescribeAppAssessmentRequest(input)
+func (c *ResilienceHub) DeleteRecommendationTemplateWithContext(ctx aws.Context, input *DeleteRecommendationTemplateInput, opts ...request.Option) (*DeleteRecommendationTemplateOutput, error) {
+ req, out := c.DeleteRecommendationTemplateRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAppVersionResourcesResolutionStatus = "DescribeAppVersionResourcesResolutionStatus"
+const opDeleteResiliencyPolicy = "DeleteResiliencyPolicy"
-// DescribeAppVersionResourcesResolutionStatusRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAppVersionResourcesResolutionStatus operation. The "output" return
+// DeleteResiliencyPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteResiliencyPolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAppVersionResourcesResolutionStatus for more information on using the DescribeAppVersionResourcesResolutionStatus
+// See DeleteResiliencyPolicy for more information on using the DeleteResiliencyPolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAppVersionResourcesResolutionStatusRequest method.
-// req, resp := client.DescribeAppVersionResourcesResolutionStatusRequest(params)
+// // Example sending a request using the DeleteResiliencyPolicyRequest method.
+// req, resp := client.DeleteResiliencyPolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus
-func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input *DescribeAppVersionResourcesResolutionStatusInput) (req *request.Request, output *DescribeAppVersionResourcesResolutionStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy
+func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPolicyInput) (req *request.Request, output *DeleteResiliencyPolicyOutput) {
op := &request.Operation{
- Name: opDescribeAppVersionResourcesResolutionStatus,
+ Name: opDeleteResiliencyPolicy,
HTTPMethod: "POST",
- HTTPPath: "/describe-app-version-resources-resolution-status",
+ HTTPPath: "/delete-resiliency-policy",
}
if input == nil {
- input = &DescribeAppVersionResourcesResolutionStatusInput{}
+ input = &DeleteResiliencyPolicyInput{}
}
- output = &DescribeAppVersionResourcesResolutionStatusOutput{}
+ output = &DeleteResiliencyPolicyOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeAppVersionResourcesResolutionStatus API operation for AWS Resilience Hub.
+// DeleteResiliencyPolicy API operation for AWS Resilience Hub.
//
-// Returns the resolution status for the specified resolution identifier for
-// an application version. If resolutionId is not specified, the current resolution
-// status is returned.
+// Deletes a resiliency policy. This is a destructive action that can't be undone.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeAppVersionResourcesResolutionStatus for usage and error information.
+// API operation DeleteResiliencyPolicy for usage and error information.
//
// Returned Error Types:
//
@@ -1071,92 +1341,99 @@ func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus
-func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatus(input *DescribeAppVersionResourcesResolutionStatusInput) (*DescribeAppVersionResourcesResolutionStatusOutput, error) {
- req, out := c.DescribeAppVersionResourcesResolutionStatusRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy
+func (c *ResilienceHub) DeleteResiliencyPolicy(input *DeleteResiliencyPolicyInput) (*DeleteResiliencyPolicyOutput, error) {
+ req, out := c.DeleteResiliencyPolicyRequest(input)
return out, req.Send()
}
-// DescribeAppVersionResourcesResolutionStatusWithContext is the same as DescribeAppVersionResourcesResolutionStatus with the addition of
+// DeleteResiliencyPolicyWithContext is the same as DeleteResiliencyPolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAppVersionResourcesResolutionStatus for details on how to use this API operation.
+// See DeleteResiliencyPolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusWithContext(ctx aws.Context, input *DescribeAppVersionResourcesResolutionStatusInput, opts ...request.Option) (*DescribeAppVersionResourcesResolutionStatusOutput, error) {
- req, out := c.DescribeAppVersionResourcesResolutionStatusRequest(input)
+func (c *ResilienceHub) DeleteResiliencyPolicyWithContext(ctx aws.Context, input *DeleteResiliencyPolicyInput, opts ...request.Option) (*DeleteResiliencyPolicyOutput, error) {
+ req, out := c.DeleteResiliencyPolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeAppVersionTemplate = "DescribeAppVersionTemplate"
+const opDescribeApp = "DescribeApp"
-// DescribeAppVersionTemplateRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeAppVersionTemplate operation. The "output" return
+// DescribeAppRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeApp operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeAppVersionTemplate for more information on using the DescribeAppVersionTemplate
+// See DescribeApp for more information on using the DescribeApp
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeAppVersionTemplateRequest method.
-// req, resp := client.DescribeAppVersionTemplateRequest(params)
+// // Example sending a request using the DescribeAppRequest method.
+// req, resp := client.DescribeAppRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate
-func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVersionTemplateInput) (req *request.Request, output *DescribeAppVersionTemplateOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp
+func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
op := &request.Operation{
- Name: opDescribeAppVersionTemplate,
+ Name: opDescribeApp,
HTTPMethod: "POST",
- HTTPPath: "/describe-app-version-template",
+ HTTPPath: "/describe-app",
}
if input == nil {
- input = &DescribeAppVersionTemplateInput{}
+ input = &DescribeAppInput{}
}
- output = &DescribeAppVersionTemplateOutput{}
+ output = &DescribeAppOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeAppVersionTemplate API operation for AWS Resilience Hub.
+// DescribeApp API operation for AWS Resilience Hub.
//
-// # Describes details about an AWS Resilience Hub
+// Describes an AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeAppVersionTemplate for usage and error information.
+// API operation DescribeApp for usage and error information.
//
// Returned Error Types:
//
@@ -1165,92 +1442,93 @@ func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVers
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate
-func (c *ResilienceHub) DescribeAppVersionTemplate(input *DescribeAppVersionTemplateInput) (*DescribeAppVersionTemplateOutput, error) {
- req, out := c.DescribeAppVersionTemplateRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp
+func (c *ResilienceHub) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
+ req, out := c.DescribeAppRequest(input)
return out, req.Send()
}
-// DescribeAppVersionTemplateWithContext is the same as DescribeAppVersionTemplate with the addition of
+// DescribeAppWithContext is the same as DescribeApp with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeAppVersionTemplate for details on how to use this API operation.
+// See DescribeApp for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeAppVersionTemplateWithContext(ctx aws.Context, input *DescribeAppVersionTemplateInput, opts ...request.Option) (*DescribeAppVersionTemplateOutput, error) {
- req, out := c.DescribeAppVersionTemplateRequest(input)
+func (c *ResilienceHub) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
+ req, out := c.DescribeAppRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeDraftAppVersionResourcesImportStatus = "DescribeDraftAppVersionResourcesImportStatus"
+const opDescribeAppAssessment = "DescribeAppAssessment"
-// DescribeDraftAppVersionResourcesImportStatusRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeDraftAppVersionResourcesImportStatus operation. The "output" return
+// DescribeAppAssessmentRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppAssessment operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeDraftAppVersionResourcesImportStatus for more information on using the DescribeDraftAppVersionResourcesImportStatus
+// See DescribeAppAssessment for more information on using the DescribeAppAssessment
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeDraftAppVersionResourcesImportStatusRequest method.
-// req, resp := client.DescribeDraftAppVersionResourcesImportStatusRequest(params)
+// // Example sending a request using the DescribeAppAssessmentRequest method.
+// req, resp := client.DescribeAppAssessmentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus
-func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(input *DescribeDraftAppVersionResourcesImportStatusInput) (req *request.Request, output *DescribeDraftAppVersionResourcesImportStatusOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment
+func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmentInput) (req *request.Request, output *DescribeAppAssessmentOutput) {
op := &request.Operation{
- Name: opDescribeDraftAppVersionResourcesImportStatus,
+ Name: opDescribeAppAssessment,
HTTPMethod: "POST",
- HTTPPath: "/describe-draft-app-version-resources-import-status",
+ HTTPPath: "/describe-app-assessment",
}
if input == nil {
- input = &DescribeDraftAppVersionResourcesImportStatusInput{}
+ input = &DescribeAppAssessmentInput{}
}
- output = &DescribeDraftAppVersionResourcesImportStatusOutput{}
+ output = &DescribeAppAssessmentOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeDraftAppVersionResourcesImportStatus API operation for AWS Resilience Hub.
+// DescribeAppAssessment API operation for AWS Resilience Hub.
//
-// Describes the status of importing resources to an application version.
+// Describes an assessment for an AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeDraftAppVersionResourcesImportStatus for usage and error information.
+// API operation DescribeAppAssessment for usage and error information.
//
// Returned Error Types:
//
@@ -1259,94 +1537,93 @@ func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(inpu
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus
-func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatus(input *DescribeDraftAppVersionResourcesImportStatusInput) (*DescribeDraftAppVersionResourcesImportStatusOutput, error) {
- req, out := c.DescribeDraftAppVersionResourcesImportStatusRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment
+func (c *ResilienceHub) DescribeAppAssessment(input *DescribeAppAssessmentInput) (*DescribeAppAssessmentOutput, error) {
+ req, out := c.DescribeAppAssessmentRequest(input)
return out, req.Send()
}
-// DescribeDraftAppVersionResourcesImportStatusWithContext is the same as DescribeDraftAppVersionResourcesImportStatus with the addition of
+// DescribeAppAssessmentWithContext is the same as DescribeAppAssessment with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeDraftAppVersionResourcesImportStatus for details on how to use this API operation.
+// See DescribeAppAssessment for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusWithContext(ctx aws.Context, input *DescribeDraftAppVersionResourcesImportStatusInput, opts ...request.Option) (*DescribeDraftAppVersionResourcesImportStatusOutput, error) {
- req, out := c.DescribeDraftAppVersionResourcesImportStatusRequest(input)
+func (c *ResilienceHub) DescribeAppAssessmentWithContext(ctx aws.Context, input *DescribeAppAssessmentInput, opts ...request.Option) (*DescribeAppAssessmentOutput, error) {
+ req, out := c.DescribeAppAssessmentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opDescribeResiliencyPolicy = "DescribeResiliencyPolicy"
+const opDescribeAppVersion = "DescribeAppVersion"
-// DescribeResiliencyPolicyRequest generates a "aws/request.Request" representing the
-// client's request for the DescribeResiliencyPolicy operation. The "output" return
+// DescribeAppVersionRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See DescribeResiliencyPolicy for more information on using the DescribeResiliencyPolicy
+// See DescribeAppVersion for more information on using the DescribeAppVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the DescribeResiliencyPolicyRequest method.
-// req, resp := client.DescribeResiliencyPolicyRequest(params)
+// // Example sending a request using the DescribeAppVersionRequest method.
+// req, resp := client.DescribeAppVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy
-func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResiliencyPolicyInput) (req *request.Request, output *DescribeResiliencyPolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersion
+func (c *ResilienceHub) DescribeAppVersionRequest(input *DescribeAppVersionInput) (req *request.Request, output *DescribeAppVersionOutput) {
op := &request.Operation{
- Name: opDescribeResiliencyPolicy,
+ Name: opDescribeAppVersion,
HTTPMethod: "POST",
- HTTPPath: "/describe-resiliency-policy",
+ HTTPPath: "/describe-app-version",
}
if input == nil {
- input = &DescribeResiliencyPolicyInput{}
+ input = &DescribeAppVersionInput{}
}
- output = &DescribeResiliencyPolicyOutput{}
+ output = &DescribeAppVersionOutput{}
req = c.newRequest(op, input, output)
return
}
-// DescribeResiliencyPolicy API operation for AWS Resilience Hub.
+// DescribeAppVersion API operation for AWS Resilience Hub.
//
-// Describes a specified resiliency policy for an AWS Resilience Hub application.
-// The returned policy object includes creation time, data location constraints,
-// the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
+// Describes the AWS Resilience Hub application version.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation DescribeResiliencyPolicy for usage and error information.
+// API operation DescribeAppVersion for usage and error information.
//
// Returned Error Types:
//
@@ -1355,93 +1632,93 @@ func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResilienc
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy
-func (c *ResilienceHub) DescribeResiliencyPolicy(input *DescribeResiliencyPolicyInput) (*DescribeResiliencyPolicyOutput, error) {
- req, out := c.DescribeResiliencyPolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersion
+func (c *ResilienceHub) DescribeAppVersion(input *DescribeAppVersionInput) (*DescribeAppVersionOutput, error) {
+ req, out := c.DescribeAppVersionRequest(input)
return out, req.Send()
}
-// DescribeResiliencyPolicyWithContext is the same as DescribeResiliencyPolicy with the addition of
+// DescribeAppVersionWithContext is the same as DescribeAppVersion with the addition of
// the ability to pass a context and additional request options.
//
-// See DescribeResiliencyPolicy for details on how to use this API operation.
+// See DescribeAppVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) DescribeResiliencyPolicyWithContext(ctx aws.Context, input *DescribeResiliencyPolicyInput, opts ...request.Option) (*DescribeResiliencyPolicyOutput, error) {
- req, out := c.DescribeResiliencyPolicyRequest(input)
+func (c *ResilienceHub) DescribeAppVersionWithContext(ctx aws.Context, input *DescribeAppVersionInput, opts ...request.Option) (*DescribeAppVersionOutput, error) {
+ req, out := c.DescribeAppVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opImportResourcesToDraftAppVersion = "ImportResourcesToDraftAppVersion"
+const opDescribeAppVersionAppComponent = "DescribeAppVersionAppComponent"
-// ImportResourcesToDraftAppVersionRequest generates a "aws/request.Request" representing the
-// client's request for the ImportResourcesToDraftAppVersion operation. The "output" return
+// DescribeAppVersionAppComponentRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppVersionAppComponent operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ImportResourcesToDraftAppVersion for more information on using the ImportResourcesToDraftAppVersion
+// See DescribeAppVersionAppComponent for more information on using the DescribeAppVersionAppComponent
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ImportResourcesToDraftAppVersionRequest method.
-// req, resp := client.ImportResourcesToDraftAppVersionRequest(params)
+// // Example sending a request using the DescribeAppVersionAppComponentRequest method.
+// req, resp := client.DescribeAppVersionAppComponentRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion
-func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportResourcesToDraftAppVersionInput) (req *request.Request, output *ImportResourcesToDraftAppVersionOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponent
+func (c *ResilienceHub) DescribeAppVersionAppComponentRequest(input *DescribeAppVersionAppComponentInput) (req *request.Request, output *DescribeAppVersionAppComponentOutput) {
op := &request.Operation{
- Name: opImportResourcesToDraftAppVersion,
+ Name: opDescribeAppVersionAppComponent,
HTTPMethod: "POST",
- HTTPPath: "/import-resources-to-draft-app-version",
+ HTTPPath: "/describe-app-version-app-component",
}
if input == nil {
- input = &ImportResourcesToDraftAppVersionInput{}
+ input = &DescribeAppVersionAppComponentInput{}
}
- output = &ImportResourcesToDraftAppVersionOutput{}
+ output = &DescribeAppVersionAppComponentOutput{}
req = c.newRequest(op, input, output)
return
}
-// ImportResourcesToDraftAppVersion API operation for AWS Resilience Hub.
+// DescribeAppVersionAppComponent API operation for AWS Resilience Hub.
//
-// Imports resources from sources such as a CloudFormation stack, resource-groups,
-// or application registry app to a draft application version.
+// Describes an Application Component in the AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ImportResourcesToDraftAppVersion for usage and error information.
+// API operation DescribeAppVersionAppComponent for usage and error information.
//
// Returned Error Types:
//
@@ -1450,104 +1727,108 @@ func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportRes
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion
-func (c *ResilienceHub) ImportResourcesToDraftAppVersion(input *ImportResourcesToDraftAppVersionInput) (*ImportResourcesToDraftAppVersionOutput, error) {
- req, out := c.ImportResourcesToDraftAppVersionRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponent
+func (c *ResilienceHub) DescribeAppVersionAppComponent(input *DescribeAppVersionAppComponentInput) (*DescribeAppVersionAppComponentOutput, error) {
+ req, out := c.DescribeAppVersionAppComponentRequest(input)
return out, req.Send()
}
-// ImportResourcesToDraftAppVersionWithContext is the same as ImportResourcesToDraftAppVersion with the addition of
+// DescribeAppVersionAppComponentWithContext is the same as DescribeAppVersionAppComponent with the addition of
// the ability to pass a context and additional request options.
//
-// See ImportResourcesToDraftAppVersion for details on how to use this API operation.
+// See DescribeAppVersionAppComponent for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ImportResourcesToDraftAppVersionWithContext(ctx aws.Context, input *ImportResourcesToDraftAppVersionInput, opts ...request.Option) (*ImportResourcesToDraftAppVersionOutput, error) {
- req, out := c.ImportResourcesToDraftAppVersionRequest(input)
+func (c *ResilienceHub) DescribeAppVersionAppComponentWithContext(ctx aws.Context, input *DescribeAppVersionAppComponentInput, opts ...request.Option) (*DescribeAppVersionAppComponentOutput, error) {
+ req, out := c.DescribeAppVersionAppComponentRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListAlarmRecommendations = "ListAlarmRecommendations"
+const opDescribeAppVersionResource = "DescribeAppVersionResource"
-// ListAlarmRecommendationsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAlarmRecommendations operation. The "output" return
+// DescribeAppVersionResourceRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppVersionResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAlarmRecommendations for more information on using the ListAlarmRecommendations
+// See DescribeAppVersionResource for more information on using the DescribeAppVersionResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAlarmRecommendationsRequest method.
-// req, resp := client.ListAlarmRecommendationsRequest(params)
+// // Example sending a request using the DescribeAppVersionResourceRequest method.
+// req, resp := client.DescribeAppVersionResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations
-func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommendationsInput) (req *request.Request, output *ListAlarmRecommendationsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResource
+func (c *ResilienceHub) DescribeAppVersionResourceRequest(input *DescribeAppVersionResourceInput) (req *request.Request, output *DescribeAppVersionResourceOutput) {
op := &request.Operation{
- Name: opListAlarmRecommendations,
+ Name: opDescribeAppVersionResource,
HTTPMethod: "POST",
- HTTPPath: "/list-alarm-recommendations",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/describe-app-version-resource",
}
if input == nil {
- input = &ListAlarmRecommendationsInput{}
+ input = &DescribeAppVersionResourceInput{}
}
- output = &ListAlarmRecommendationsOutput{}
+ output = &DescribeAppVersionResourceOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAlarmRecommendations API operation for AWS Resilience Hub.
+// DescribeAppVersionResource API operation for AWS Resilience Hub.
+//
+// Describes a resource of the AWS Resilience Hub application.
+//
+// This API accepts only one of the following parameters to descibe the resource:
//
-// Lists the alarm recommendations for a AWS Resilience Hub application.
+// - resourceName
+//
+// - logicalResourceId
+//
+// - physicalResourceId (Along with physicalResourceId, you can also provide
+// awsAccountId, and awsRegion)
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAlarmRecommendations for usage and error information.
+// API operation DescribeAppVersionResource for usage and error information.
//
// Returned Error Types:
//
@@ -1556,150 +1837,101 @@ func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommen
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations
-func (c *ResilienceHub) ListAlarmRecommendations(input *ListAlarmRecommendationsInput) (*ListAlarmRecommendationsOutput, error) {
- req, out := c.ListAlarmRecommendationsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResource
+func (c *ResilienceHub) DescribeAppVersionResource(input *DescribeAppVersionResourceInput) (*DescribeAppVersionResourceOutput, error) {
+ req, out := c.DescribeAppVersionResourceRequest(input)
return out, req.Send()
}
-// ListAlarmRecommendationsWithContext is the same as ListAlarmRecommendations with the addition of
+// DescribeAppVersionResourceWithContext is the same as DescribeAppVersionResource with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAlarmRecommendations for details on how to use this API operation.
+// See DescribeAppVersionResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAlarmRecommendationsWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, opts ...request.Option) (*ListAlarmRecommendationsOutput, error) {
- req, out := c.ListAlarmRecommendationsRequest(input)
+func (c *ResilienceHub) DescribeAppVersionResourceWithContext(ctx aws.Context, input *DescribeAppVersionResourceInput, opts ...request.Option) (*DescribeAppVersionResourceOutput, error) {
+ req, out := c.DescribeAppVersionResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAlarmRecommendationsPages iterates over the pages of a ListAlarmRecommendations operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
+const opDescribeAppVersionResourcesResolutionStatus = "DescribeAppVersionResourcesResolutionStatus"
+
+// DescribeAppVersionResourcesResolutionStatusRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppVersionResourcesResolutionStatus operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// See ListAlarmRecommendations method for more information on how to use this operation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAlarmRecommendations operation.
-// pageNum := 0
-// err := client.ListAlarmRecommendationsPages(params,
-// func(page *resiliencehub.ListAlarmRecommendationsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAlarmRecommendationsPages(input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool) error {
- return c.ListAlarmRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAlarmRecommendationsPagesWithContext same as ListAlarmRecommendationsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAlarmRecommendationsPagesWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAlarmRecommendationsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAlarmRecommendationsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAlarmRecommendationsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppAssessments = "ListAppAssessments"
-
-// ListAppAssessmentsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppAssessments operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
-//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
-//
-// See ListAppAssessments for more information on using the ListAppAssessments
-// API call, and error handling.
+// See DescribeAppVersionResourcesResolutionStatus for more information on using the DescribeAppVersionResourcesResolutionStatus
+// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppAssessmentsRequest method.
-// req, resp := client.ListAppAssessmentsRequest(params)
+// // Example sending a request using the DescribeAppVersionResourcesResolutionStatusRequest method.
+// req, resp := client.DescribeAppVersionResourcesResolutionStatusRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments
-func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput) (req *request.Request, output *ListAppAssessmentsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus
+func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input *DescribeAppVersionResourcesResolutionStatusInput) (req *request.Request, output *DescribeAppVersionResourcesResolutionStatusOutput) {
op := &request.Operation{
- Name: opListAppAssessments,
- HTTPMethod: "GET",
- HTTPPath: "/list-app-assessments",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ Name: opDescribeAppVersionResourcesResolutionStatus,
+ HTTPMethod: "POST",
+ HTTPPath: "/describe-app-version-resources-resolution-status",
}
if input == nil {
- input = &ListAppAssessmentsInput{}
+ input = &DescribeAppVersionResourcesResolutionStatusInput{}
}
- output = &ListAppAssessmentsOutput{}
+ output = &DescribeAppVersionResourcesResolutionStatusOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppAssessments API operation for AWS Resilience Hub.
+// DescribeAppVersionResourcesResolutionStatus API operation for AWS Resilience Hub.
//
-// Lists the assessments for an AWS Resilience Hub application. You can use
-// request parameters to refine the results for the response object.
+// Returns the resolution status for the specified resolution identifier for
+// an application version. If resolutionId is not specified, the current resolution
+// status is returned.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppAssessments for usage and error information.
+// API operation DescribeAppVersionResourcesResolutionStatus for usage and error information.
//
// Returned Error Types:
//
@@ -1708,149 +1940,93 @@ func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments
-func (c *ResilienceHub) ListAppAssessments(input *ListAppAssessmentsInput) (*ListAppAssessmentsOutput, error) {
- req, out := c.ListAppAssessmentsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus
+func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatus(input *DescribeAppVersionResourcesResolutionStatusInput) (*DescribeAppVersionResourcesResolutionStatusOutput, error) {
+ req, out := c.DescribeAppVersionResourcesResolutionStatusRequest(input)
return out, req.Send()
}
-// ListAppAssessmentsWithContext is the same as ListAppAssessments with the addition of
+// DescribeAppVersionResourcesResolutionStatusWithContext is the same as DescribeAppVersionResourcesResolutionStatus with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppAssessments for details on how to use this API operation.
+// See DescribeAppVersionResourcesResolutionStatus for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppAssessmentsWithContext(ctx aws.Context, input *ListAppAssessmentsInput, opts ...request.Option) (*ListAppAssessmentsOutput, error) {
- req, out := c.ListAppAssessmentsRequest(input)
+func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusWithContext(ctx aws.Context, input *DescribeAppVersionResourcesResolutionStatusInput, opts ...request.Option) (*DescribeAppVersionResourcesResolutionStatusOutput, error) {
+ req, out := c.DescribeAppVersionResourcesResolutionStatusRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppAssessmentsPages iterates over the pages of a ListAppAssessments operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAppAssessments method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAppAssessments operation.
-// pageNum := 0
-// err := client.ListAppAssessmentsPages(params,
-// func(page *resiliencehub.ListAppAssessmentsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAppAssessmentsPages(input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool) error {
- return c.ListAppAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAppAssessmentsPagesWithContext same as ListAppAssessmentsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAppAssessmentsPagesWithContext(ctx aws.Context, input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppAssessmentsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAppAssessmentsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAppAssessmentsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppComponentCompliances = "ListAppComponentCompliances"
+const opDescribeAppVersionTemplate = "DescribeAppVersionTemplate"
-// ListAppComponentCompliancesRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppComponentCompliances operation. The "output" return
+// DescribeAppVersionTemplateRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeAppVersionTemplate operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAppComponentCompliances for more information on using the ListAppComponentCompliances
+// See DescribeAppVersionTemplate for more information on using the DescribeAppVersionTemplate
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppComponentCompliancesRequest method.
-// req, resp := client.ListAppComponentCompliancesRequest(params)
+// // Example sending a request using the DescribeAppVersionTemplateRequest method.
+// req, resp := client.DescribeAppVersionTemplateRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances
-func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppComponentCompliancesInput) (req *request.Request, output *ListAppComponentCompliancesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate
+func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVersionTemplateInput) (req *request.Request, output *DescribeAppVersionTemplateOutput) {
op := &request.Operation{
- Name: opListAppComponentCompliances,
+ Name: opDescribeAppVersionTemplate,
HTTPMethod: "POST",
- HTTPPath: "/list-app-component-compliances",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/describe-app-version-template",
}
if input == nil {
- input = &ListAppComponentCompliancesInput{}
+ input = &DescribeAppVersionTemplateInput{}
}
- output = &ListAppComponentCompliancesOutput{}
+ output = &DescribeAppVersionTemplateOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppComponentCompliances API operation for AWS Resilience Hub.
+// DescribeAppVersionTemplate API operation for AWS Resilience Hub.
//
-// Lists the compliances for an AWS Resilience Hub component.
+// Describes details about an AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppComponentCompliances for usage and error information.
+// API operation DescribeAppVersionTemplate for usage and error information.
//
// Returned Error Types:
//
@@ -1859,149 +2035,98 @@ func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppCompone
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances
-func (c *ResilienceHub) ListAppComponentCompliances(input *ListAppComponentCompliancesInput) (*ListAppComponentCompliancesOutput, error) {
- req, out := c.ListAppComponentCompliancesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate
+func (c *ResilienceHub) DescribeAppVersionTemplate(input *DescribeAppVersionTemplateInput) (*DescribeAppVersionTemplateOutput, error) {
+ req, out := c.DescribeAppVersionTemplateRequest(input)
return out, req.Send()
}
-// ListAppComponentCompliancesWithContext is the same as ListAppComponentCompliances with the addition of
+// DescribeAppVersionTemplateWithContext is the same as DescribeAppVersionTemplate with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppComponentCompliances for details on how to use this API operation.
+// See DescribeAppVersionTemplate for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppComponentCompliancesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, opts ...request.Option) (*ListAppComponentCompliancesOutput, error) {
- req, out := c.ListAppComponentCompliancesRequest(input)
+func (c *ResilienceHub) DescribeAppVersionTemplateWithContext(ctx aws.Context, input *DescribeAppVersionTemplateInput, opts ...request.Option) (*DescribeAppVersionTemplateOutput, error) {
+ req, out := c.DescribeAppVersionTemplateRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppComponentCompliancesPages iterates over the pages of a ListAppComponentCompliances operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAppComponentCompliances method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAppComponentCompliances operation.
-// pageNum := 0
-// err := client.ListAppComponentCompliancesPages(params,
-// func(page *resiliencehub.ListAppComponentCompliancesOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAppComponentCompliancesPages(input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool) error {
- return c.ListAppComponentCompliancesPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAppComponentCompliancesPagesWithContext same as ListAppComponentCompliancesPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAppComponentCompliancesPagesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppComponentCompliancesInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAppComponentCompliancesRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAppComponentCompliancesOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppComponentRecommendations = "ListAppComponentRecommendations"
+const opDescribeDraftAppVersionResourcesImportStatus = "DescribeDraftAppVersionResourcesImportStatus"
-// ListAppComponentRecommendationsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppComponentRecommendations operation. The "output" return
+// DescribeDraftAppVersionResourcesImportStatusRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeDraftAppVersionResourcesImportStatus operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAppComponentRecommendations for more information on using the ListAppComponentRecommendations
+// See DescribeDraftAppVersionResourcesImportStatus for more information on using the DescribeDraftAppVersionResourcesImportStatus
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppComponentRecommendationsRequest method.
-// req, resp := client.ListAppComponentRecommendationsRequest(params)
+// // Example sending a request using the DescribeDraftAppVersionResourcesImportStatusRequest method.
+// req, resp := client.DescribeDraftAppVersionResourcesImportStatusRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations
-func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppComponentRecommendationsInput) (req *request.Request, output *ListAppComponentRecommendationsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus
+func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(input *DescribeDraftAppVersionResourcesImportStatusInput) (req *request.Request, output *DescribeDraftAppVersionResourcesImportStatusOutput) {
op := &request.Operation{
- Name: opListAppComponentRecommendations,
+ Name: opDescribeDraftAppVersionResourcesImportStatus,
HTTPMethod: "POST",
- HTTPPath: "/list-app-component-recommendations",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/describe-draft-app-version-resources-import-status",
}
if input == nil {
- input = &ListAppComponentRecommendationsInput{}
+ input = &DescribeDraftAppVersionResourcesImportStatusInput{}
}
- output = &ListAppComponentRecommendationsOutput{}
+ output = &DescribeDraftAppVersionResourcesImportStatusOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppComponentRecommendations API operation for AWS Resilience Hub.
+// DescribeDraftAppVersionResourcesImportStatus API operation for AWS Resilience Hub.
//
-// Lists the recommendations for an AWS Resilience Hub component.
+// Describes the status of importing resources to an application version.
+//
+// If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException,
+// you must call importResourcesToDraftAppVersion after creating the application
+// and before calling describeDraftAppVersionResourcesImportStatus to obtain
+// the status.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppComponentRecommendations for usage and error information.
+// API operation DescribeDraftAppVersionResourcesImportStatus for usage and error information.
//
// Returned Error Types:
//
@@ -2010,151 +2135,95 @@ func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppCom
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations
-func (c *ResilienceHub) ListAppComponentRecommendations(input *ListAppComponentRecommendationsInput) (*ListAppComponentRecommendationsOutput, error) {
- req, out := c.ListAppComponentRecommendationsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus
+func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatus(input *DescribeDraftAppVersionResourcesImportStatusInput) (*DescribeDraftAppVersionResourcesImportStatusOutput, error) {
+ req, out := c.DescribeDraftAppVersionResourcesImportStatusRequest(input)
return out, req.Send()
}
-// ListAppComponentRecommendationsWithContext is the same as ListAppComponentRecommendations with the addition of
+// DescribeDraftAppVersionResourcesImportStatusWithContext is the same as DescribeDraftAppVersionResourcesImportStatus with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppComponentRecommendations for details on how to use this API operation.
+// See DescribeDraftAppVersionResourcesImportStatus for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppComponentRecommendationsWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, opts ...request.Option) (*ListAppComponentRecommendationsOutput, error) {
- req, out := c.ListAppComponentRecommendationsRequest(input)
+func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusWithContext(ctx aws.Context, input *DescribeDraftAppVersionResourcesImportStatusInput, opts ...request.Option) (*DescribeDraftAppVersionResourcesImportStatusOutput, error) {
+ req, out := c.DescribeDraftAppVersionResourcesImportStatusRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppComponentRecommendationsPages iterates over the pages of a ListAppComponentRecommendations operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAppComponentRecommendations method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAppComponentRecommendations operation.
-// pageNum := 0
-// err := client.ListAppComponentRecommendationsPages(params,
-// func(page *resiliencehub.ListAppComponentRecommendationsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAppComponentRecommendationsPages(input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool) error {
- return c.ListAppComponentRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAppComponentRecommendationsPagesWithContext same as ListAppComponentRecommendationsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAppComponentRecommendationsPagesWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppComponentRecommendationsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAppComponentRecommendationsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAppComponentRecommendationsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppVersionResourceMappings = "ListAppVersionResourceMappings"
+const opDescribeResiliencyPolicy = "DescribeResiliencyPolicy"
-// ListAppVersionResourceMappingsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppVersionResourceMappings operation. The "output" return
+// DescribeResiliencyPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the DescribeResiliencyPolicy operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAppVersionResourceMappings for more information on using the ListAppVersionResourceMappings
+// See DescribeResiliencyPolicy for more information on using the DescribeResiliencyPolicy
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppVersionResourceMappingsRequest method.
-// req, resp := client.ListAppVersionResourceMappingsRequest(params)
+// // Example sending a request using the DescribeResiliencyPolicyRequest method.
+// req, resp := client.DescribeResiliencyPolicyRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings
-func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVersionResourceMappingsInput) (req *request.Request, output *ListAppVersionResourceMappingsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy
+func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResiliencyPolicyInput) (req *request.Request, output *DescribeResiliencyPolicyOutput) {
op := &request.Operation{
- Name: opListAppVersionResourceMappings,
+ Name: opDescribeResiliencyPolicy,
HTTPMethod: "POST",
- HTTPPath: "/list-app-version-resource-mappings",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/describe-resiliency-policy",
}
if input == nil {
- input = &ListAppVersionResourceMappingsInput{}
+ input = &DescribeResiliencyPolicyInput{}
}
- output = &ListAppVersionResourceMappingsOutput{}
+ output = &DescribeResiliencyPolicyOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppVersionResourceMappings API operation for AWS Resilience Hub.
+// DescribeResiliencyPolicy API operation for AWS Resilience Hub.
//
-// Lists how the resources in an application version are mapped/sourced from.
-// Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups,
-// or an application registry app.
+// Describes a specified resiliency policy for an AWS Resilience Hub application.
+// The returned policy object includes creation time, data location constraints,
+// the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppVersionResourceMappings for usage and error information.
+// API operation DescribeResiliencyPolicy for usage and error information.
//
// Returned Error Types:
//
@@ -2163,149 +2232,96 @@ func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVers
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings
-func (c *ResilienceHub) ListAppVersionResourceMappings(input *ListAppVersionResourceMappingsInput) (*ListAppVersionResourceMappingsOutput, error) {
- req, out := c.ListAppVersionResourceMappingsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy
+func (c *ResilienceHub) DescribeResiliencyPolicy(input *DescribeResiliencyPolicyInput) (*DescribeResiliencyPolicyOutput, error) {
+ req, out := c.DescribeResiliencyPolicyRequest(input)
return out, req.Send()
}
-// ListAppVersionResourceMappingsWithContext is the same as ListAppVersionResourceMappings with the addition of
+// DescribeResiliencyPolicyWithContext is the same as DescribeResiliencyPolicy with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppVersionResourceMappings for details on how to use this API operation.
+// See DescribeResiliencyPolicy for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionResourceMappingsWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, opts ...request.Option) (*ListAppVersionResourceMappingsOutput, error) {
- req, out := c.ListAppVersionResourceMappingsRequest(input)
+func (c *ResilienceHub) DescribeResiliencyPolicyWithContext(ctx aws.Context, input *DescribeResiliencyPolicyInput, opts ...request.Option) (*DescribeResiliencyPolicyOutput, error) {
+ req, out := c.DescribeResiliencyPolicyRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppVersionResourceMappingsPages iterates over the pages of a ListAppVersionResourceMappings operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAppVersionResourceMappings method for more information on how to use this operation.
-//
-// Note: This operation can generate multiple requests to a service.
-//
-// // Example iterating over at most 3 pages of a ListAppVersionResourceMappings operation.
-// pageNum := 0
-// err := client.ListAppVersionResourceMappingsPages(params,
-// func(page *resiliencehub.ListAppVersionResourceMappingsOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAppVersionResourceMappingsPages(input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool) error {
- return c.ListAppVersionResourceMappingsPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAppVersionResourceMappingsPagesWithContext same as ListAppVersionResourceMappingsPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionResourceMappingsPagesWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppVersionResourceMappingsInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAppVersionResourceMappingsRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAppVersionResourceMappingsOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppVersionResources = "ListAppVersionResources"
+const opImportResourcesToDraftAppVersion = "ImportResourcesToDraftAppVersion"
-// ListAppVersionResourcesRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppVersionResources operation. The "output" return
+// ImportResourcesToDraftAppVersionRequest generates a "aws/request.Request" representing the
+// client's request for the ImportResourcesToDraftAppVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListAppVersionResources for more information on using the ListAppVersionResources
+// See ImportResourcesToDraftAppVersion for more information on using the ImportResourcesToDraftAppVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppVersionResourcesRequest method.
-// req, resp := client.ListAppVersionResourcesRequest(params)
+// // Example sending a request using the ImportResourcesToDraftAppVersionRequest method.
+// req, resp := client.ImportResourcesToDraftAppVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources
-func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionResourcesInput) (req *request.Request, output *ListAppVersionResourcesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion
+func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportResourcesToDraftAppVersionInput) (req *request.Request, output *ImportResourcesToDraftAppVersionOutput) {
op := &request.Operation{
- Name: opListAppVersionResources,
+ Name: opImportResourcesToDraftAppVersion,
HTTPMethod: "POST",
- HTTPPath: "/list-app-version-resources",
- Paginator: &request.Paginator{
- InputTokens: []string{"nextToken"},
- OutputTokens: []string{"nextToken"},
- LimitToken: "maxResults",
- TruncationToken: "",
- },
+ HTTPPath: "/import-resources-to-draft-app-version",
}
if input == nil {
- input = &ListAppVersionResourcesInput{}
+ input = &ImportResourcesToDraftAppVersionInput{}
}
- output = &ListAppVersionResourcesOutput{}
+ output = &ImportResourcesToDraftAppVersionOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppVersionResources API operation for AWS Resilience Hub.
+// ImportResourcesToDraftAppVersion API operation for AWS Resilience Hub.
//
-// Lists all the resources in an application version.
+// Imports resources to AWS Resilience Hub application draft version from different
+// input sources. For more information about the input sources supported by
+// AWS Resilience Hub, see Discover the structure and describe your Resilience
+// Hub application (https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppVersionResources for usage and error information.
+// API operation ImportResourcesToDraftAppVersion for usage and error information.
//
// Returned Error Types:
//
@@ -2314,128 +2330,78 @@ func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionReso
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources
-func (c *ResilienceHub) ListAppVersionResources(input *ListAppVersionResourcesInput) (*ListAppVersionResourcesOutput, error) {
- req, out := c.ListAppVersionResourcesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion
+func (c *ResilienceHub) ImportResourcesToDraftAppVersion(input *ImportResourcesToDraftAppVersionInput) (*ImportResourcesToDraftAppVersionOutput, error) {
+ req, out := c.ImportResourcesToDraftAppVersionRequest(input)
return out, req.Send()
}
-// ListAppVersionResourcesWithContext is the same as ListAppVersionResources with the addition of
+// ImportResourcesToDraftAppVersionWithContext is the same as ImportResourcesToDraftAppVersion with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppVersionResources for details on how to use this API operation.
+// See ImportResourcesToDraftAppVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionResourcesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, opts ...request.Option) (*ListAppVersionResourcesOutput, error) {
- req, out := c.ListAppVersionResourcesRequest(input)
+func (c *ResilienceHub) ImportResourcesToDraftAppVersionWithContext(ctx aws.Context, input *ImportResourcesToDraftAppVersionInput, opts ...request.Option) (*ImportResourcesToDraftAppVersionOutput, error) {
+ req, out := c.ImportResourcesToDraftAppVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppVersionResourcesPages iterates over the pages of a ListAppVersionResources operation,
-// calling the "fn" function with the response data for each page. To stop
-// iterating, return false from the fn function.
-//
-// See ListAppVersionResources method for more information on how to use this operation.
+const opListAlarmRecommendations = "ListAlarmRecommendations"
+
+// ListAlarmRecommendationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAlarmRecommendations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// Note: This operation can generate multiple requests to a service.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// // Example iterating over at most 3 pages of a ListAppVersionResources operation.
-// pageNum := 0
-// err := client.ListAppVersionResourcesPages(params,
-// func(page *resiliencehub.ListAppVersionResourcesOutput, lastPage bool) bool {
-// pageNum++
-// fmt.Println(page)
-// return pageNum <= 3
-// })
-func (c *ResilienceHub) ListAppVersionResourcesPages(input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool) error {
- return c.ListAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
-}
-
-// ListAppVersionResourcesPagesWithContext same as ListAppVersionResourcesPages except
-// it takes a Context and allows setting request options on the pages.
-//
-// The context must be non-nil and will be used for request cancellation. If
-// the context is nil a panic will occur. In the future the SDK may create
-// sub-contexts for http.Requests. See https://golang.org/pkg/context/
-// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool, opts ...request.Option) error {
- p := request.Pagination{
- NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppVersionResourcesInput
- if input != nil {
- tmp := *input
- inCpy = &tmp
- }
- req, _ := c.ListAppVersionResourcesRequest(inCpy)
- req.SetContext(ctx)
- req.ApplyOptions(opts...)
- return req, nil
- },
- }
-
- for p.Next() {
- if !fn(p.Page().(*ListAppVersionResourcesOutput), !p.HasNextPage()) {
- break
- }
- }
-
- return p.Err()
-}
-
-const opListAppVersions = "ListAppVersions"
-
-// ListAppVersionsRequest generates a "aws/request.Request" representing the
-// client's request for the ListAppVersions operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
-//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
-//
-// See ListAppVersions for more information on using the ListAppVersions
+// See ListAlarmRecommendations for more information on using the ListAlarmRecommendations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppVersionsRequest method.
-// req, resp := client.ListAppVersionsRequest(params)
+// // Example sending a request using the ListAlarmRecommendationsRequest method.
+// req, resp := client.ListAlarmRecommendationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions
-func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req *request.Request, output *ListAppVersionsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations
+func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommendationsInput) (req *request.Request, output *ListAlarmRecommendationsOutput) {
op := &request.Operation{
- Name: opListAppVersions,
+ Name: opListAlarmRecommendations,
HTTPMethod: "POST",
- HTTPPath: "/list-app-versions",
+ HTTPPath: "/list-alarm-recommendations",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -2445,24 +2411,24 @@ func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req
}
if input == nil {
- input = &ListAppVersionsInput{}
+ input = &ListAlarmRecommendationsInput{}
}
- output = &ListAppVersionsOutput{}
+ output = &ListAlarmRecommendationsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListAppVersions API operation for AWS Resilience Hub.
+// ListAlarmRecommendations API operation for AWS Resilience Hub.
//
-// Lists the different versions for the Resilience Hub applications.
+// Lists the alarm recommendations for an AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListAppVersions for usage and error information.
+// API operation ListAlarmRecommendations for usage and error information.
//
// Returned Error Types:
//
@@ -2471,74 +2437,78 @@ func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions
-func (c *ResilienceHub) ListAppVersions(input *ListAppVersionsInput) (*ListAppVersionsOutput, error) {
- req, out := c.ListAppVersionsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations
+func (c *ResilienceHub) ListAlarmRecommendations(input *ListAlarmRecommendationsInput) (*ListAlarmRecommendationsOutput, error) {
+ req, out := c.ListAlarmRecommendationsRequest(input)
return out, req.Send()
}
-// ListAppVersionsWithContext is the same as ListAppVersions with the addition of
+// ListAlarmRecommendationsWithContext is the same as ListAlarmRecommendations with the addition of
// the ability to pass a context and additional request options.
//
-// See ListAppVersions for details on how to use this API operation.
+// See ListAlarmRecommendations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionsWithContext(ctx aws.Context, input *ListAppVersionsInput, opts ...request.Option) (*ListAppVersionsOutput, error) {
- req, out := c.ListAppVersionsRequest(input)
+func (c *ResilienceHub) ListAlarmRecommendationsWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, opts ...request.Option) (*ListAlarmRecommendationsOutput, error) {
+ req, out := c.ListAlarmRecommendationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppVersionsPages iterates over the pages of a ListAppVersions operation,
+// ListAlarmRecommendationsPages iterates over the pages of a ListAlarmRecommendations operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListAppVersions method for more information on how to use this operation.
+// See ListAlarmRecommendations method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListAppVersions operation.
+// // Example iterating over at most 3 pages of a ListAlarmRecommendations operation.
// pageNum := 0
-// err := client.ListAppVersionsPages(params,
-// func(page *resiliencehub.ListAppVersionsOutput, lastPage bool) bool {
+// err := client.ListAlarmRecommendationsPages(params,
+// func(page *resiliencehub.ListAlarmRecommendationsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListAppVersionsPages(input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool) error {
- return c.ListAppVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAlarmRecommendationsPages(input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool) error {
+ return c.ListAlarmRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListAppVersionsPagesWithContext same as ListAppVersionsPages except
+// ListAlarmRecommendationsPagesWithContext same as ListAlarmRecommendationsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppVersionsPagesWithContext(ctx aws.Context, input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAlarmRecommendationsPagesWithContext(ctx aws.Context, input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppVersionsInput
+ var inCpy *ListAlarmRecommendationsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListAppVersionsRequest(inCpy)
+ req, _ := c.ListAlarmRecommendationsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -2546,7 +2516,7 @@ func (c *ResilienceHub) ListAppVersionsPagesWithContext(ctx aws.Context, input *
}
for p.Next() {
- if !fn(p.Page().(*ListAppVersionsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAlarmRecommendationsOutput), !p.HasNextPage()) {
break
}
}
@@ -2554,36 +2524,36 @@ func (c *ResilienceHub) ListAppVersionsPagesWithContext(ctx aws.Context, input *
return p.Err()
}
-const opListApps = "ListApps"
+const opListAppAssessments = "ListAppAssessments"
-// ListAppsRequest generates a "aws/request.Request" representing the
-// client's request for the ListApps operation. The "output" return
+// ListAppAssessmentsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppAssessments operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListApps for more information on using the ListApps
+// See ListAppAssessments for more information on using the ListAppAssessments
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListAppsRequest method.
-// req, resp := client.ListAppsRequest(params)
+// // Example sending a request using the ListAppAssessmentsRequest method.
+// req, resp := client.ListAppAssessmentsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps
-func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments
+func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput) (req *request.Request, output *ListAppAssessmentsOutput) {
op := &request.Operation{
- Name: opListApps,
+ Name: opListAppAssessments,
HTTPMethod: "GET",
- HTTPPath: "/list-apps",
+ HTTPPath: "/list-app-assessments",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -2593,24 +2563,25 @@ func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Requ
}
if input == nil {
- input = &ListAppsInput{}
+ input = &ListAppAssessmentsInput{}
}
- output = &ListAppsOutput{}
+ output = &ListAppAssessmentsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListApps API operation for AWS Resilience Hub.
+// ListAppAssessments API operation for AWS Resilience Hub.
//
-// Lists your Resilience Hub applications.
+// Lists the assessments for an AWS Resilience Hub application. You can use
+// request parameters to refine the results for the response object.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListApps for usage and error information.
+// API operation ListAppAssessments for usage and error information.
//
// Returned Error Types:
//
@@ -2618,75 +2589,79 @@ func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Requ
// This exception occurs when there is an internal failure in the AWS Resilience
// Hub service.
//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps
-func (c *ResilienceHub) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
- req, out := c.ListAppsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments
+func (c *ResilienceHub) ListAppAssessments(input *ListAppAssessmentsInput) (*ListAppAssessmentsOutput, error) {
+ req, out := c.ListAppAssessmentsRequest(input)
return out, req.Send()
}
-// ListAppsWithContext is the same as ListApps with the addition of
+// ListAppAssessmentsWithContext is the same as ListAppAssessments with the addition of
// the ability to pass a context and additional request options.
//
-// See ListApps for details on how to use this API operation.
+// See ListAppAssessments for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
- req, out := c.ListAppsRequest(input)
+func (c *ResilienceHub) ListAppAssessmentsWithContext(ctx aws.Context, input *ListAppAssessmentsInput, opts ...request.Option) (*ListAppAssessmentsOutput, error) {
+ req, out := c.ListAppAssessmentsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListAppsPages iterates over the pages of a ListApps operation,
+// ListAppAssessmentsPages iterates over the pages of a ListAppAssessments operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListApps method for more information on how to use this operation.
+// See ListAppAssessments method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListApps operation.
+// // Example iterating over at most 3 pages of a ListAppAssessments operation.
// pageNum := 0
-// err := client.ListAppsPages(params,
-// func(page *resiliencehub.ListAppsOutput, lastPage bool) bool {
+// err := client.ListAppAssessmentsPages(params,
+// func(page *resiliencehub.ListAppAssessmentsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
- return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppAssessmentsPages(input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool) error {
+ return c.ListAppAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListAppsPagesWithContext same as ListAppsPages except
+// ListAppAssessmentsPagesWithContext same as ListAppAssessmentsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppAssessmentsPagesWithContext(ctx aws.Context, input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListAppsInput
+ var inCpy *ListAppAssessmentsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListAppsRequest(inCpy)
+ req, _ := c.ListAppAssessmentsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -2694,7 +2669,7 @@ func (c *ResilienceHub) ListAppsPagesWithContext(ctx aws.Context, input *ListApp
}
for p.Next() {
- if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppAssessmentsOutput), !p.HasNextPage()) {
break
}
}
@@ -2702,36 +2677,36 @@ func (c *ResilienceHub) ListAppsPagesWithContext(ctx aws.Context, input *ListApp
return p.Err()
}
-const opListRecommendationTemplates = "ListRecommendationTemplates"
+const opListAppComponentCompliances = "ListAppComponentCompliances"
-// ListRecommendationTemplatesRequest generates a "aws/request.Request" representing the
-// client's request for the ListRecommendationTemplates operation. The "output" return
+// ListAppComponentCompliancesRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppComponentCompliances operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListRecommendationTemplates for more information on using the ListRecommendationTemplates
+// See ListAppComponentCompliances for more information on using the ListAppComponentCompliances
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListRecommendationTemplatesRequest method.
-// req, resp := client.ListRecommendationTemplatesRequest(params)
+// // Example sending a request using the ListAppComponentCompliancesRequest method.
+// req, resp := client.ListAppComponentCompliancesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates
-func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommendationTemplatesInput) (req *request.Request, output *ListRecommendationTemplatesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances
+func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppComponentCompliancesInput) (req *request.Request, output *ListAppComponentCompliancesOutput) {
op := &request.Operation{
- Name: opListRecommendationTemplates,
- HTTPMethod: "GET",
- HTTPPath: "/list-recommendation-templates",
+ Name: opListAppComponentCompliances,
+ HTTPMethod: "POST",
+ HTTPPath: "/list-app-component-compliances",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -2741,24 +2716,24 @@ func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommenda
}
if input == nil {
- input = &ListRecommendationTemplatesInput{}
+ input = &ListAppComponentCompliancesInput{}
}
- output = &ListRecommendationTemplatesOutput{}
+ output = &ListAppComponentCompliancesOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListRecommendationTemplates API operation for AWS Resilience Hub.
+// ListAppComponentCompliances API operation for AWS Resilience Hub.
//
-// Lists the recommendation templates for the Resilience Hub applications.
+// Lists the compliances for an AWS Resilience Hub Application Component.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListRecommendationTemplates for usage and error information.
+// API operation ListAppComponentCompliances for usage and error information.
//
// Returned Error Types:
//
@@ -2766,75 +2741,79 @@ func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommenda
// This exception occurs when there is an internal failure in the AWS Resilience
// Hub service.
//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates
-func (c *ResilienceHub) ListRecommendationTemplates(input *ListRecommendationTemplatesInput) (*ListRecommendationTemplatesOutput, error) {
- req, out := c.ListRecommendationTemplatesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances
+func (c *ResilienceHub) ListAppComponentCompliances(input *ListAppComponentCompliancesInput) (*ListAppComponentCompliancesOutput, error) {
+ req, out := c.ListAppComponentCompliancesRequest(input)
return out, req.Send()
}
-// ListRecommendationTemplatesWithContext is the same as ListRecommendationTemplates with the addition of
+// ListAppComponentCompliancesWithContext is the same as ListAppComponentCompliances with the addition of
// the ability to pass a context and additional request options.
//
-// See ListRecommendationTemplates for details on how to use this API operation.
+// See ListAppComponentCompliances for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListRecommendationTemplatesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, opts ...request.Option) (*ListRecommendationTemplatesOutput, error) {
- req, out := c.ListRecommendationTemplatesRequest(input)
+func (c *ResilienceHub) ListAppComponentCompliancesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, opts ...request.Option) (*ListAppComponentCompliancesOutput, error) {
+ req, out := c.ListAppComponentCompliancesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListRecommendationTemplatesPages iterates over the pages of a ListRecommendationTemplates operation,
+// ListAppComponentCompliancesPages iterates over the pages of a ListAppComponentCompliances operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListRecommendationTemplates method for more information on how to use this operation.
+// See ListAppComponentCompliances method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListRecommendationTemplates operation.
+// // Example iterating over at most 3 pages of a ListAppComponentCompliances operation.
// pageNum := 0
-// err := client.ListRecommendationTemplatesPages(params,
-// func(page *resiliencehub.ListRecommendationTemplatesOutput, lastPage bool) bool {
+// err := client.ListAppComponentCompliancesPages(params,
+// func(page *resiliencehub.ListAppComponentCompliancesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListRecommendationTemplatesPages(input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool) error {
- return c.ListRecommendationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppComponentCompliancesPages(input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool) error {
+ return c.ListAppComponentCompliancesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListRecommendationTemplatesPagesWithContext same as ListRecommendationTemplatesPages except
+// ListAppComponentCompliancesPagesWithContext same as ListAppComponentCompliancesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListRecommendationTemplatesPagesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppComponentCompliancesPagesWithContext(ctx aws.Context, input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListRecommendationTemplatesInput
+ var inCpy *ListAppComponentCompliancesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListRecommendationTemplatesRequest(inCpy)
+ req, _ := c.ListAppComponentCompliancesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -2842,7 +2821,7 @@ func (c *ResilienceHub) ListRecommendationTemplatesPagesWithContext(ctx aws.Cont
}
for p.Next() {
- if !fn(p.Page().(*ListRecommendationTemplatesOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppComponentCompliancesOutput), !p.HasNextPage()) {
break
}
}
@@ -2850,36 +2829,36 @@ func (c *ResilienceHub) ListRecommendationTemplatesPagesWithContext(ctx aws.Cont
return p.Err()
}
-const opListResiliencyPolicies = "ListResiliencyPolicies"
+const opListAppComponentRecommendations = "ListAppComponentRecommendations"
-// ListResiliencyPoliciesRequest generates a "aws/request.Request" representing the
-// client's request for the ListResiliencyPolicies operation. The "output" return
+// ListAppComponentRecommendationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppComponentRecommendations operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListResiliencyPolicies for more information on using the ListResiliencyPolicies
+// See ListAppComponentRecommendations for more information on using the ListAppComponentRecommendations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListResiliencyPoliciesRequest method.
-// req, resp := client.ListResiliencyPoliciesRequest(params)
+// // Example sending a request using the ListAppComponentRecommendationsRequest method.
+// req, resp := client.ListAppComponentRecommendationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies
-func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPoliciesInput) (req *request.Request, output *ListResiliencyPoliciesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations
+func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppComponentRecommendationsInput) (req *request.Request, output *ListAppComponentRecommendationsOutput) {
op := &request.Operation{
- Name: opListResiliencyPolicies,
- HTTPMethod: "GET",
- HTTPPath: "/list-resiliency-policies",
+ Name: opListAppComponentRecommendations,
+ HTTPMethod: "POST",
+ HTTPPath: "/list-app-component-recommendations",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -2889,24 +2868,24 @@ func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPolic
}
if input == nil {
- input = &ListResiliencyPoliciesInput{}
+ input = &ListAppComponentRecommendationsInput{}
}
- output = &ListResiliencyPoliciesOutput{}
+ output = &ListAppComponentRecommendationsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListResiliencyPolicies API operation for AWS Resilience Hub.
+// ListAppComponentRecommendations API operation for AWS Resilience Hub.
//
-// Lists the resiliency policies for the Resilience Hub applications.
+// Lists the recommendations for an AWS Resilience Hub Application Component.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListResiliencyPolicies for usage and error information.
+// API operation ListAppComponentRecommendations for usage and error information.
//
// Returned Error Types:
//
@@ -2915,77 +2894,78 @@ func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPolic
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies
-func (c *ResilienceHub) ListResiliencyPolicies(input *ListResiliencyPoliciesInput) (*ListResiliencyPoliciesOutput, error) {
- req, out := c.ListResiliencyPoliciesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations
+func (c *ResilienceHub) ListAppComponentRecommendations(input *ListAppComponentRecommendationsInput) (*ListAppComponentRecommendationsOutput, error) {
+ req, out := c.ListAppComponentRecommendationsRequest(input)
return out, req.Send()
}
-// ListResiliencyPoliciesWithContext is the same as ListResiliencyPolicies with the addition of
+// ListAppComponentRecommendationsWithContext is the same as ListAppComponentRecommendations with the addition of
// the ability to pass a context and additional request options.
//
-// See ListResiliencyPolicies for details on how to use this API operation.
+// See ListAppComponentRecommendations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListResiliencyPoliciesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, opts ...request.Option) (*ListResiliencyPoliciesOutput, error) {
- req, out := c.ListResiliencyPoliciesRequest(input)
+func (c *ResilienceHub) ListAppComponentRecommendationsWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, opts ...request.Option) (*ListAppComponentRecommendationsOutput, error) {
+ req, out := c.ListAppComponentRecommendationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListResiliencyPoliciesPages iterates over the pages of a ListResiliencyPolicies operation,
+// ListAppComponentRecommendationsPages iterates over the pages of a ListAppComponentRecommendations operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListResiliencyPolicies method for more information on how to use this operation.
+// See ListAppComponentRecommendations method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListResiliencyPolicies operation.
+// // Example iterating over at most 3 pages of a ListAppComponentRecommendations operation.
// pageNum := 0
-// err := client.ListResiliencyPoliciesPages(params,
-// func(page *resiliencehub.ListResiliencyPoliciesOutput, lastPage bool) bool {
+// err := client.ListAppComponentRecommendationsPages(params,
+// func(page *resiliencehub.ListAppComponentRecommendationsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListResiliencyPoliciesPages(input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool) error {
- return c.ListResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppComponentRecommendationsPages(input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool) error {
+ return c.ListAppComponentRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListResiliencyPoliciesPagesWithContext same as ListResiliencyPoliciesPages except
+// ListAppComponentRecommendationsPagesWithContext same as ListAppComponentRecommendationsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppComponentRecommendationsPagesWithContext(ctx aws.Context, input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListResiliencyPoliciesInput
+ var inCpy *ListAppComponentRecommendationsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListResiliencyPoliciesRequest(inCpy)
+ req, _ := c.ListAppComponentRecommendationsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -2993,7 +2973,7 @@ func (c *ResilienceHub) ListResiliencyPoliciesPagesWithContext(ctx aws.Context,
}
for p.Next() {
- if !fn(p.Page().(*ListResiliencyPoliciesOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppComponentRecommendationsOutput), !p.HasNextPage()) {
break
}
}
@@ -3001,36 +2981,36 @@ func (c *ResilienceHub) ListResiliencyPoliciesPagesWithContext(ctx aws.Context,
return p.Err()
}
-const opListSopRecommendations = "ListSopRecommendations"
+const opListAppInputSources = "ListAppInputSources"
-// ListSopRecommendationsRequest generates a "aws/request.Request" representing the
-// client's request for the ListSopRecommendations operation. The "output" return
+// ListAppInputSourcesRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppInputSources operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListSopRecommendations for more information on using the ListSopRecommendations
+// See ListAppInputSources for more information on using the ListAppInputSources
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListSopRecommendationsRequest method.
-// req, resp := client.ListSopRecommendationsRequest(params)
+// // Example sending a request using the ListAppInputSourcesRequest method.
+// req, resp := client.ListAppInputSourcesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations
-func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendationsInput) (req *request.Request, output *ListSopRecommendationsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSources
+func (c *ResilienceHub) ListAppInputSourcesRequest(input *ListAppInputSourcesInput) (req *request.Request, output *ListAppInputSourcesOutput) {
op := &request.Operation{
- Name: opListSopRecommendations,
+ Name: opListAppInputSources,
HTTPMethod: "POST",
- HTTPPath: "/list-sop-recommendations",
+ HTTPPath: "/list-app-input-sources",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -3040,25 +3020,26 @@ func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendati
}
if input == nil {
- input = &ListSopRecommendationsInput{}
+ input = &ListAppInputSourcesInput{}
}
- output = &ListSopRecommendationsOutput{}
+ output = &ListAppInputSourcesOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListSopRecommendations API operation for AWS Resilience Hub.
+// ListAppInputSources API operation for AWS Resilience Hub.
//
-// Lists the standard operating procedure (SOP) recommendations for the Resilience
-// Hub applications.
+// Lists all the input sources of the AWS Resilience Hub application. For more
+// information about the input sources supported by AWS Resilience Hub, see
+// Discover the structure and describe your Resilience Hub application (https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html).
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListSopRecommendations for usage and error information.
+// API operation ListAppInputSources for usage and error information.
//
// Returned Error Types:
//
@@ -3067,83 +3048,78 @@ func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendati
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations
-func (c *ResilienceHub) ListSopRecommendations(input *ListSopRecommendationsInput) (*ListSopRecommendationsOutput, error) {
- req, out := c.ListSopRecommendationsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSources
+func (c *ResilienceHub) ListAppInputSources(input *ListAppInputSourcesInput) (*ListAppInputSourcesOutput, error) {
+ req, out := c.ListAppInputSourcesRequest(input)
return out, req.Send()
}
-// ListSopRecommendationsWithContext is the same as ListSopRecommendations with the addition of
+// ListAppInputSourcesWithContext is the same as ListAppInputSources with the addition of
// the ability to pass a context and additional request options.
//
-// See ListSopRecommendations for details on how to use this API operation.
+// See ListAppInputSources for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListSopRecommendationsWithContext(ctx aws.Context, input *ListSopRecommendationsInput, opts ...request.Option) (*ListSopRecommendationsOutput, error) {
- req, out := c.ListSopRecommendationsRequest(input)
+func (c *ResilienceHub) ListAppInputSourcesWithContext(ctx aws.Context, input *ListAppInputSourcesInput, opts ...request.Option) (*ListAppInputSourcesOutput, error) {
+ req, out := c.ListAppInputSourcesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListSopRecommendationsPages iterates over the pages of a ListSopRecommendations operation,
+// ListAppInputSourcesPages iterates over the pages of a ListAppInputSources operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListSopRecommendations method for more information on how to use this operation.
+// See ListAppInputSources method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListSopRecommendations operation.
+// // Example iterating over at most 3 pages of a ListAppInputSources operation.
// pageNum := 0
-// err := client.ListSopRecommendationsPages(params,
-// func(page *resiliencehub.ListSopRecommendationsOutput, lastPage bool) bool {
+// err := client.ListAppInputSourcesPages(params,
+// func(page *resiliencehub.ListAppInputSourcesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListSopRecommendationsPages(input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool) error {
- return c.ListSopRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppInputSourcesPages(input *ListAppInputSourcesInput, fn func(*ListAppInputSourcesOutput, bool) bool) error {
+ return c.ListAppInputSourcesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListSopRecommendationsPagesWithContext same as ListSopRecommendationsPages except
+// ListAppInputSourcesPagesWithContext same as ListAppInputSourcesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListSopRecommendationsPagesWithContext(ctx aws.Context, input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppInputSourcesPagesWithContext(ctx aws.Context, input *ListAppInputSourcesInput, fn func(*ListAppInputSourcesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListSopRecommendationsInput
+ var inCpy *ListAppInputSourcesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListSopRecommendationsRequest(inCpy)
+ req, _ := c.ListAppInputSourcesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3151,7 +3127,7 @@ func (c *ResilienceHub) ListSopRecommendationsPagesWithContext(ctx aws.Context,
}
for p.Next() {
- if !fn(p.Page().(*ListSopRecommendationsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppInputSourcesOutput), !p.HasNextPage()) {
break
}
}
@@ -3159,36 +3135,36 @@ func (c *ResilienceHub) ListSopRecommendationsPagesWithContext(ctx aws.Context,
return p.Err()
}
-const opListSuggestedResiliencyPolicies = "ListSuggestedResiliencyPolicies"
+const opListAppVersionAppComponents = "ListAppVersionAppComponents"
-// ListSuggestedResiliencyPoliciesRequest generates a "aws/request.Request" representing the
-// client's request for the ListSuggestedResiliencyPolicies operation. The "output" return
+// ListAppVersionAppComponentsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppVersionAppComponents operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListSuggestedResiliencyPolicies for more information on using the ListSuggestedResiliencyPolicies
+// See ListAppVersionAppComponents for more information on using the ListAppVersionAppComponents
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListSuggestedResiliencyPoliciesRequest method.
-// req, resp := client.ListSuggestedResiliencyPoliciesRequest(params)
+// // Example sending a request using the ListAppVersionAppComponentsRequest method.
+// req, resp := client.ListAppVersionAppComponentsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies
-func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSuggestedResiliencyPoliciesInput) (req *request.Request, output *ListSuggestedResiliencyPoliciesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponents
+func (c *ResilienceHub) ListAppVersionAppComponentsRequest(input *ListAppVersionAppComponentsInput) (req *request.Request, output *ListAppVersionAppComponentsOutput) {
op := &request.Operation{
- Name: opListSuggestedResiliencyPolicies,
- HTTPMethod: "GET",
- HTTPPath: "/list-suggested-resiliency-policies",
+ Name: opListAppVersionAppComponents,
+ HTTPMethod: "POST",
+ HTTPPath: "/list-app-version-app-components",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -3198,24 +3174,24 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSugges
}
if input == nil {
- input = &ListSuggestedResiliencyPoliciesInput{}
+ input = &ListAppVersionAppComponentsInput{}
}
- output = &ListSuggestedResiliencyPoliciesOutput{}
+ output = &ListAppVersionAppComponentsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListSuggestedResiliencyPolicies API operation for AWS Resilience Hub.
+// ListAppVersionAppComponents API operation for AWS Resilience Hub.
//
-// Lists the suggested resiliency policies for the Resilience Hub applications.
+// Lists all the Application Components in the AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListSuggestedResiliencyPolicies for usage and error information.
+// API operation ListAppVersionAppComponents for usage and error information.
//
// Returned Error Types:
//
@@ -3224,77 +3200,84 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSugges
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies
-func (c *ResilienceHub) ListSuggestedResiliencyPolicies(input *ListSuggestedResiliencyPoliciesInput) (*ListSuggestedResiliencyPoliciesOutput, error) {
- req, out := c.ListSuggestedResiliencyPoliciesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponents
+func (c *ResilienceHub) ListAppVersionAppComponents(input *ListAppVersionAppComponentsInput) (*ListAppVersionAppComponentsOutput, error) {
+ req, out := c.ListAppVersionAppComponentsRequest(input)
return out, req.Send()
}
-// ListSuggestedResiliencyPoliciesWithContext is the same as ListSuggestedResiliencyPolicies with the addition of
+// ListAppVersionAppComponentsWithContext is the same as ListAppVersionAppComponents with the addition of
// the ability to pass a context and additional request options.
//
-// See ListSuggestedResiliencyPolicies for details on how to use this API operation.
+// See ListAppVersionAppComponents for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListSuggestedResiliencyPoliciesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, opts ...request.Option) (*ListSuggestedResiliencyPoliciesOutput, error) {
- req, out := c.ListSuggestedResiliencyPoliciesRequest(input)
+func (c *ResilienceHub) ListAppVersionAppComponentsWithContext(ctx aws.Context, input *ListAppVersionAppComponentsInput, opts ...request.Option) (*ListAppVersionAppComponentsOutput, error) {
+ req, out := c.ListAppVersionAppComponentsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListSuggestedResiliencyPoliciesPages iterates over the pages of a ListSuggestedResiliencyPolicies operation,
+// ListAppVersionAppComponentsPages iterates over the pages of a ListAppVersionAppComponents operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListSuggestedResiliencyPolicies method for more information on how to use this operation.
+// See ListAppVersionAppComponents method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListSuggestedResiliencyPolicies operation.
+// // Example iterating over at most 3 pages of a ListAppVersionAppComponents operation.
// pageNum := 0
-// err := client.ListSuggestedResiliencyPoliciesPages(params,
-// func(page *resiliencehub.ListSuggestedResiliencyPoliciesOutput, lastPage bool) bool {
+// err := client.ListAppVersionAppComponentsPages(params,
+// func(page *resiliencehub.ListAppVersionAppComponentsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPages(input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool) error {
- return c.ListSuggestedResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppVersionAppComponentsPages(input *ListAppVersionAppComponentsInput, fn func(*ListAppVersionAppComponentsOutput, bool) bool) error {
+ return c.ListAppVersionAppComponentsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListSuggestedResiliencyPoliciesPagesWithContext same as ListSuggestedResiliencyPoliciesPages except
+// ListAppVersionAppComponentsPagesWithContext same as ListAppVersionAppComponentsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppVersionAppComponentsPagesWithContext(ctx aws.Context, input *ListAppVersionAppComponentsInput, fn func(*ListAppVersionAppComponentsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListSuggestedResiliencyPoliciesInput
+ var inCpy *ListAppVersionAppComponentsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListSuggestedResiliencyPoliciesRequest(inCpy)
+ req, _ := c.ListAppVersionAppComponentsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3302,7 +3285,7 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext(ctx aws.
}
for p.Next() {
- if !fn(p.Page().(*ListSuggestedResiliencyPoliciesOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppVersionAppComponentsOutput), !p.HasNextPage()) {
break
}
}
@@ -3310,57 +3293,65 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext(ctx aws.
return p.Err()
}
-const opListTagsForResource = "ListTagsForResource"
+const opListAppVersionResourceMappings = "ListAppVersionResourceMappings"
-// ListTagsForResourceRequest generates a "aws/request.Request" representing the
-// client's request for the ListTagsForResource operation. The "output" return
+// ListAppVersionResourceMappingsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppVersionResourceMappings operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTagsForResource for more information on using the ListTagsForResource
+// See ListAppVersionResourceMappings for more information on using the ListAppVersionResourceMappings
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTagsForResourceRequest method.
-// req, resp := client.ListTagsForResourceRequest(params)
+// // Example sending a request using the ListAppVersionResourceMappingsRequest method.
+// req, resp := client.ListAppVersionResourceMappingsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource
-func (c *ResilienceHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings
+func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVersionResourceMappingsInput) (req *request.Request, output *ListAppVersionResourceMappingsOutput) {
op := &request.Operation{
- Name: opListTagsForResource,
- HTTPMethod: "GET",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opListAppVersionResourceMappings,
+ HTTPMethod: "POST",
+ HTTPPath: "/list-app-version-resource-mappings",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &ListTagsForResourceInput{}
+ input = &ListAppVersionResourceMappingsInput{}
}
- output = &ListTagsForResourceOutput{}
+ output = &ListAppVersionResourceMappingsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTagsForResource API operation for AWS Resilience Hub.
+// ListAppVersionResourceMappings API operation for AWS Resilience Hub.
//
-// Lists the tags for your resources in your Resilience Hub applications.
+// Lists how the resources in an application version are mapped/sourced from.
+// Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups,
+// or an application registry app.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListTagsForResource for usage and error information.
+// API operation ListAppVersionResourceMappings for usage and error information.
//
// Returned Error Types:
//
@@ -3369,71 +3360,123 @@ func (c *ResilienceHub) ListTagsForResourceRequest(input *ListTagsForResourceInp
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource
-func (c *ResilienceHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings
+func (c *ResilienceHub) ListAppVersionResourceMappings(input *ListAppVersionResourceMappingsInput) (*ListAppVersionResourceMappingsOutput, error) {
+ req, out := c.ListAppVersionResourceMappingsRequest(input)
return out, req.Send()
}
-// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// ListAppVersionResourceMappingsWithContext is the same as ListAppVersionResourceMappings with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTagsForResource for details on how to use this API operation.
+// See ListAppVersionResourceMappings for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
- req, out := c.ListTagsForResourceRequest(input)
+func (c *ResilienceHub) ListAppVersionResourceMappingsWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, opts ...request.Option) (*ListAppVersionResourceMappingsOutput, error) {
+ req, out := c.ListAppVersionResourceMappingsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opListTestRecommendations = "ListTestRecommendations"
+// ListAppVersionResourceMappingsPages iterates over the pages of a ListAppVersionResourceMappings operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListAppVersionResourceMappings method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListAppVersionResourceMappings operation.
+// pageNum := 0
+// err := client.ListAppVersionResourceMappingsPages(params,
+// func(page *resiliencehub.ListAppVersionResourceMappingsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListAppVersionResourceMappingsPages(input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool) error {
+ return c.ListAppVersionResourceMappingsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// ListTestRecommendationsRequest generates a "aws/request.Request" representing the
-// client's request for the ListTestRecommendations operation. The "output" return
+// ListAppVersionResourceMappingsPagesWithContext same as ListAppVersionResourceMappingsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListAppVersionResourceMappingsPagesWithContext(ctx aws.Context, input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAppVersionResourceMappingsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAppVersionResourceMappingsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAppVersionResourceMappingsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListAppVersionResources = "ListAppVersionResources"
+
+// ListAppVersionResourcesRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppVersionResources operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListTestRecommendations for more information on using the ListTestRecommendations
+// See ListAppVersionResources for more information on using the ListAppVersionResources
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListTestRecommendationsRequest method.
-// req, resp := client.ListTestRecommendationsRequest(params)
+// // Example sending a request using the ListAppVersionResourcesRequest method.
+// req, resp := client.ListAppVersionResourcesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations
-func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommendationsInput) (req *request.Request, output *ListTestRecommendationsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources
+func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionResourcesInput) (req *request.Request, output *ListAppVersionResourcesOutput) {
op := &request.Operation{
- Name: opListTestRecommendations,
+ Name: opListAppVersionResources,
HTTPMethod: "POST",
- HTTPPath: "/list-test-recommendations",
+ HTTPPath: "/list-app-version-resources",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -3443,24 +3486,24 @@ func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommenda
}
if input == nil {
- input = &ListTestRecommendationsInput{}
+ input = &ListAppVersionResourcesInput{}
}
- output = &ListTestRecommendationsOutput{}
+ output = &ListAppVersionResourcesOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListTestRecommendations API operation for AWS Resilience Hub.
+// ListAppVersionResources API operation for AWS Resilience Hub.
//
-// Lists the test recommendations for the Resilience Hub application.
+// Lists all the resources in an AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListTestRecommendations for usage and error information.
+// API operation ListAppVersionResources for usage and error information.
//
// Returned Error Types:
//
@@ -3469,83 +3512,84 @@ func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommenda
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations
-func (c *ResilienceHub) ListTestRecommendations(input *ListTestRecommendationsInput) (*ListTestRecommendationsOutput, error) {
- req, out := c.ListTestRecommendationsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources
+func (c *ResilienceHub) ListAppVersionResources(input *ListAppVersionResourcesInput) (*ListAppVersionResourcesOutput, error) {
+ req, out := c.ListAppVersionResourcesRequest(input)
return out, req.Send()
}
-// ListTestRecommendationsWithContext is the same as ListTestRecommendations with the addition of
+// ListAppVersionResourcesWithContext is the same as ListAppVersionResources with the addition of
// the ability to pass a context and additional request options.
//
-// See ListTestRecommendations for details on how to use this API operation.
+// See ListAppVersionResources for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListTestRecommendationsWithContext(ctx aws.Context, input *ListTestRecommendationsInput, opts ...request.Option) (*ListTestRecommendationsOutput, error) {
- req, out := c.ListTestRecommendationsRequest(input)
+func (c *ResilienceHub) ListAppVersionResourcesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, opts ...request.Option) (*ListAppVersionResourcesOutput, error) {
+ req, out := c.ListAppVersionResourcesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListTestRecommendationsPages iterates over the pages of a ListTestRecommendations operation,
+// ListAppVersionResourcesPages iterates over the pages of a ListAppVersionResources operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListTestRecommendations method for more information on how to use this operation.
+// See ListAppVersionResources method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListTestRecommendations operation.
+// // Example iterating over at most 3 pages of a ListAppVersionResources operation.
// pageNum := 0
-// err := client.ListTestRecommendationsPages(params,
-// func(page *resiliencehub.ListTestRecommendationsOutput, lastPage bool) bool {
+// err := client.ListAppVersionResourcesPages(params,
+// func(page *resiliencehub.ListAppVersionResourcesOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListTestRecommendationsPages(input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool) error {
- return c.ListTestRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppVersionResourcesPages(input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool) error {
+ return c.ListAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListTestRecommendationsPagesWithContext same as ListTestRecommendationsPages except
+// ListAppVersionResourcesPagesWithContext same as ListAppVersionResourcesPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListTestRecommendationsPagesWithContext(ctx aws.Context, input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListTestRecommendationsInput
+ var inCpy *ListAppVersionResourcesInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListTestRecommendationsRequest(inCpy)
+ req, _ := c.ListAppVersionResourcesRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3553,7 +3597,7 @@ func (c *ResilienceHub) ListTestRecommendationsPagesWithContext(ctx aws.Context,
}
for p.Next() {
- if !fn(p.Page().(*ListTestRecommendationsOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppVersionResourcesOutput), !p.HasNextPage()) {
break
}
}
@@ -3561,36 +3605,36 @@ func (c *ResilienceHub) ListTestRecommendationsPagesWithContext(ctx aws.Context,
return p.Err()
}
-const opListUnsupportedAppVersionResources = "ListUnsupportedAppVersionResources"
+const opListAppVersions = "ListAppVersions"
-// ListUnsupportedAppVersionResourcesRequest generates a "aws/request.Request" representing the
-// client's request for the ListUnsupportedAppVersionResources operation. The "output" return
+// ListAppVersionsRequest generates a "aws/request.Request" representing the
+// client's request for the ListAppVersions operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ListUnsupportedAppVersionResources for more information on using the ListUnsupportedAppVersionResources
+// See ListAppVersions for more information on using the ListAppVersions
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ListUnsupportedAppVersionResourcesRequest method.
-// req, resp := client.ListUnsupportedAppVersionResourcesRequest(params)
+// // Example sending a request using the ListAppVersionsRequest method.
+// req, resp := client.ListAppVersionsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources
-func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUnsupportedAppVersionResourcesInput) (req *request.Request, output *ListUnsupportedAppVersionResourcesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions
+func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req *request.Request, output *ListAppVersionsOutput) {
op := &request.Operation{
- Name: opListUnsupportedAppVersionResources,
+ Name: opListAppVersions,
HTTPMethod: "POST",
- HTTPPath: "/list-unsupported-app-version-resources",
+ HTTPPath: "/list-app-versions",
Paginator: &request.Paginator{
InputTokens: []string{"nextToken"},
OutputTokens: []string{"nextToken"},
@@ -3600,26 +3644,24 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUns
}
if input == nil {
- input = &ListUnsupportedAppVersionResourcesInput{}
+ input = &ListAppVersionsInput{}
}
- output = &ListUnsupportedAppVersionResourcesOutput{}
+ output = &ListAppVersionsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ListUnsupportedAppVersionResources API operation for AWS Resilience Hub.
+// ListAppVersions API operation for AWS Resilience Hub.
//
-// Lists the resources that are not currently supported in AWS Resilience Hub.
-// An unsupported resource is a resource that exists in the object that was
-// used to create an app, but is not supported by Resilience Hub.
+// Lists the different versions for the AWS Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ListUnsupportedAppVersionResources for usage and error information.
+// API operation ListAppVersions for usage and error information.
//
// Returned Error Types:
//
@@ -3628,83 +3670,74 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUns
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when the specified resource could not be found.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources
-func (c *ResilienceHub) ListUnsupportedAppVersionResources(input *ListUnsupportedAppVersionResourcesInput) (*ListUnsupportedAppVersionResourcesOutput, error) {
- req, out := c.ListUnsupportedAppVersionResourcesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions
+func (c *ResilienceHub) ListAppVersions(input *ListAppVersionsInput) (*ListAppVersionsOutput, error) {
+ req, out := c.ListAppVersionsRequest(input)
return out, req.Send()
}
-// ListUnsupportedAppVersionResourcesWithContext is the same as ListUnsupportedAppVersionResources with the addition of
+// ListAppVersionsWithContext is the same as ListAppVersions with the addition of
// the ability to pass a context and additional request options.
//
-// See ListUnsupportedAppVersionResources for details on how to use this API operation.
+// See ListAppVersions for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListUnsupportedAppVersionResourcesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, opts ...request.Option) (*ListUnsupportedAppVersionResourcesOutput, error) {
- req, out := c.ListUnsupportedAppVersionResourcesRequest(input)
+func (c *ResilienceHub) ListAppVersionsWithContext(ctx aws.Context, input *ListAppVersionsInput, opts ...request.Option) (*ListAppVersionsOutput, error) {
+ req, out := c.ListAppVersionsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// ListUnsupportedAppVersionResourcesPages iterates over the pages of a ListUnsupportedAppVersionResources operation,
+// ListAppVersionsPages iterates over the pages of a ListAppVersions operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
-// See ListUnsupportedAppVersionResources method for more information on how to use this operation.
+// See ListAppVersions method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
-// // Example iterating over at most 3 pages of a ListUnsupportedAppVersionResources operation.
+// // Example iterating over at most 3 pages of a ListAppVersions operation.
// pageNum := 0
-// err := client.ListUnsupportedAppVersionResourcesPages(params,
-// func(page *resiliencehub.ListUnsupportedAppVersionResourcesOutput, lastPage bool) bool {
+// err := client.ListAppVersionsPages(params,
+// func(page *resiliencehub.ListAppVersionsOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
-func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPages(input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool) error {
- return c.ListUnsupportedAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
+func (c *ResilienceHub) ListAppVersionsPages(input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool) error {
+ return c.ListAppVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
}
-// ListUnsupportedAppVersionResourcesPagesWithContext same as ListUnsupportedAppVersionResourcesPages except
+// ListAppVersionsPagesWithContext same as ListAppVersionsPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool, opts ...request.Option) error {
+func (c *ResilienceHub) ListAppVersionsPagesWithContext(ctx aws.Context, input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
- var inCpy *ListUnsupportedAppVersionResourcesInput
+ var inCpy *ListAppVersionsInput
if input != nil {
tmp := *input
inCpy = &tmp
}
- req, _ := c.ListUnsupportedAppVersionResourcesRequest(inCpy)
+ req, _ := c.ListAppVersionsRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
@@ -3712,7 +3745,7 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext(ctx a
}
for p.Next() {
- if !fn(p.Page().(*ListUnsupportedAppVersionResourcesOutput), !p.HasNextPage()) {
+ if !fn(p.Page().(*ListAppVersionsOutput), !p.HasNextPage()) {
break
}
}
@@ -3720,57 +3753,70 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext(ctx a
return p.Err()
}
-const opPublishAppVersion = "PublishAppVersion"
+const opListApps = "ListApps"
-// PublishAppVersionRequest generates a "aws/request.Request" representing the
-// client's request for the PublishAppVersion operation. The "output" return
+// ListAppsRequest generates a "aws/request.Request" representing the
+// client's request for the ListApps operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PublishAppVersion for more information on using the PublishAppVersion
+// See ListApps for more information on using the ListApps
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PublishAppVersionRequest method.
-// req, resp := client.PublishAppVersionRequest(params)
+// // Example sending a request using the ListAppsRequest method.
+// req, resp := client.ListAppsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion
-func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput) (req *request.Request, output *PublishAppVersionOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps
+func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
op := &request.Operation{
- Name: opPublishAppVersion,
- HTTPMethod: "POST",
- HTTPPath: "/publish-app-version",
+ Name: opListApps,
+ HTTPMethod: "GET",
+ HTTPPath: "/list-apps",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &PublishAppVersionInput{}
+ input = &ListAppsInput{}
}
- output = &PublishAppVersionOutput{}
+ output = &ListAppsOutput{}
req = c.newRequest(op, input, output)
return
}
-// PublishAppVersion API operation for AWS Resilience Hub.
+// ListApps API operation for AWS Resilience Hub.
+//
+// Lists your AWS Resilience Hub applications.
//
-// Publishes a new version of a specific Resilience Hub application.
+// You can filter applications using only one filter at a time or without using
+// any filter. If you try to filter applications using multiple filters, you
+// will get the following error:
+//
+// An error occurred (ValidationException) when calling the ListApps operation:
+// Only one filter is supported for this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation PublishAppVersion for usage and error information.
+// API operation ListApps for usage and error information.
//
// Returned Error Types:
//
@@ -3778,100 +3824,148 @@ func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput)
// This exception occurs when there is an internal failure in the AWS Resilience
// Hub service.
//
-// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion
-func (c *ResilienceHub) PublishAppVersion(input *PublishAppVersionInput) (*PublishAppVersionOutput, error) {
- req, out := c.PublishAppVersionRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps
+func (c *ResilienceHub) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
+ req, out := c.ListAppsRequest(input)
return out, req.Send()
}
-// PublishAppVersionWithContext is the same as PublishAppVersion with the addition of
+// ListAppsWithContext is the same as ListApps with the addition of
// the ability to pass a context and additional request options.
//
-// See PublishAppVersion for details on how to use this API operation.
+// See ListApps for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) PublishAppVersionWithContext(ctx aws.Context, input *PublishAppVersionInput, opts ...request.Option) (*PublishAppVersionOutput, error) {
- req, out := c.PublishAppVersionRequest(input)
+func (c *ResilienceHub) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
+ req, out := c.ListAppsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opPutDraftAppVersionTemplate = "PutDraftAppVersionTemplate"
+// ListAppsPages iterates over the pages of a ListApps operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListApps method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListApps operation.
+// pageNum := 0
+// err := client.ListAppsPages(params,
+// func(page *resiliencehub.ListAppsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
+ return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// PutDraftAppVersionTemplateRequest generates a "aws/request.Request" representing the
-// client's request for the PutDraftAppVersionTemplate operation. The "output" return
+// ListAppsPagesWithContext same as ListAppsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListAppsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListAppsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListRecommendationTemplates = "ListRecommendationTemplates"
+
+// ListRecommendationTemplatesRequest generates a "aws/request.Request" representing the
+// client's request for the ListRecommendationTemplates operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See PutDraftAppVersionTemplate for more information on using the PutDraftAppVersionTemplate
+// See ListRecommendationTemplates for more information on using the ListRecommendationTemplates
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the PutDraftAppVersionTemplateRequest method.
-// req, resp := client.PutDraftAppVersionTemplateRequest(params)
+// // Example sending a request using the ListRecommendationTemplatesRequest method.
+// req, resp := client.ListRecommendationTemplatesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate
-func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVersionTemplateInput) (req *request.Request, output *PutDraftAppVersionTemplateOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates
+func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommendationTemplatesInput) (req *request.Request, output *ListRecommendationTemplatesOutput) {
op := &request.Operation{
- Name: opPutDraftAppVersionTemplate,
- HTTPMethod: "POST",
- HTTPPath: "/put-draft-app-version-template",
- }
-
- if input == nil {
- input = &PutDraftAppVersionTemplateInput{}
- }
+ Name: opListRecommendationTemplates,
+ HTTPMethod: "GET",
+ HTTPPath: "/list-recommendation-templates",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
- output = &PutDraftAppVersionTemplateOutput{}
+ if input == nil {
+ input = &ListRecommendationTemplatesInput{}
+ }
+
+ output = &ListRecommendationTemplatesOutput{}
req = c.newRequest(op, input, output)
return
}
-// PutDraftAppVersionTemplate API operation for AWS Resilience Hub.
+// ListRecommendationTemplates API operation for AWS Resilience Hub.
//
-// Adds or updates the app template for a draft version of a Resilience Hub
-// app.
+// Lists the recommendation templates for the AWS Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation PutDraftAppVersionTemplate for usage and error information.
+// API operation ListRecommendationTemplates for usage and error information.
//
// Returned Error Types:
//
@@ -3879,99 +3973,148 @@ func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVers
// This exception occurs when there is an internal failure in the AWS Resilience
// Hub service.
//
-// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate
-func (c *ResilienceHub) PutDraftAppVersionTemplate(input *PutDraftAppVersionTemplateInput) (*PutDraftAppVersionTemplateOutput, error) {
- req, out := c.PutDraftAppVersionTemplateRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates
+func (c *ResilienceHub) ListRecommendationTemplates(input *ListRecommendationTemplatesInput) (*ListRecommendationTemplatesOutput, error) {
+ req, out := c.ListRecommendationTemplatesRequest(input)
return out, req.Send()
}
-// PutDraftAppVersionTemplateWithContext is the same as PutDraftAppVersionTemplate with the addition of
+// ListRecommendationTemplatesWithContext is the same as ListRecommendationTemplates with the addition of
// the ability to pass a context and additional request options.
//
-// See PutDraftAppVersionTemplate for details on how to use this API operation.
+// See ListRecommendationTemplates for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) PutDraftAppVersionTemplateWithContext(ctx aws.Context, input *PutDraftAppVersionTemplateInput, opts ...request.Option) (*PutDraftAppVersionTemplateOutput, error) {
- req, out := c.PutDraftAppVersionTemplateRequest(input)
+func (c *ResilienceHub) ListRecommendationTemplatesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, opts ...request.Option) (*ListRecommendationTemplatesOutput, error) {
+ req, out := c.ListRecommendationTemplatesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opRemoveDraftAppVersionResourceMappings = "RemoveDraftAppVersionResourceMappings"
+// ListRecommendationTemplatesPages iterates over the pages of a ListRecommendationTemplates operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListRecommendationTemplates method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListRecommendationTemplates operation.
+// pageNum := 0
+// err := client.ListRecommendationTemplatesPages(params,
+// func(page *resiliencehub.ListRecommendationTemplatesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListRecommendationTemplatesPages(input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool) error {
+ return c.ListRecommendationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// RemoveDraftAppVersionResourceMappingsRequest generates a "aws/request.Request" representing the
-// client's request for the RemoveDraftAppVersionResourceMappings operation. The "output" return
+// ListRecommendationTemplatesPagesWithContext same as ListRecommendationTemplatesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListRecommendationTemplatesPagesWithContext(ctx aws.Context, input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListRecommendationTemplatesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListRecommendationTemplatesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListRecommendationTemplatesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListResiliencyPolicies = "ListResiliencyPolicies"
+
+// ListResiliencyPoliciesRequest generates a "aws/request.Request" representing the
+// client's request for the ListResiliencyPolicies operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See RemoveDraftAppVersionResourceMappings for more information on using the RemoveDraftAppVersionResourceMappings
+// See ListResiliencyPolicies for more information on using the ListResiliencyPolicies
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the RemoveDraftAppVersionResourceMappingsRequest method.
-// req, resp := client.RemoveDraftAppVersionResourceMappingsRequest(params)
+// // Example sending a request using the ListResiliencyPoliciesRequest method.
+// req, resp := client.ListResiliencyPoliciesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings
-func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *RemoveDraftAppVersionResourceMappingsInput) (req *request.Request, output *RemoveDraftAppVersionResourceMappingsOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies
+func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPoliciesInput) (req *request.Request, output *ListResiliencyPoliciesOutput) {
op := &request.Operation{
- Name: opRemoveDraftAppVersionResourceMappings,
- HTTPMethod: "POST",
- HTTPPath: "/remove-draft-app-version-resource-mappings",
+ Name: opListResiliencyPolicies,
+ HTTPMethod: "GET",
+ HTTPPath: "/list-resiliency-policies",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &RemoveDraftAppVersionResourceMappingsInput{}
+ input = &ListResiliencyPoliciesInput{}
}
- output = &RemoveDraftAppVersionResourceMappingsOutput{}
+ output = &ListResiliencyPoliciesOutput{}
req = c.newRequest(op, input, output)
return
}
-// RemoveDraftAppVersionResourceMappings API operation for AWS Resilience Hub.
+// ListResiliencyPolicies API operation for AWS Resilience Hub.
//
-// Removes resource mappings from a draft application version.
+// Lists the resiliency policies for the AWS Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation RemoveDraftAppVersionResourceMappings for usage and error information.
+// API operation ListResiliencyPolicies for usage and error information.
//
// Returned Error Types:
//
@@ -3980,98 +4123,151 @@ func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *Remo
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings
-func (c *ResilienceHub) RemoveDraftAppVersionResourceMappings(input *RemoveDraftAppVersionResourceMappingsInput) (*RemoveDraftAppVersionResourceMappingsOutput, error) {
- req, out := c.RemoveDraftAppVersionResourceMappingsRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies
+func (c *ResilienceHub) ListResiliencyPolicies(input *ListResiliencyPoliciesInput) (*ListResiliencyPoliciesOutput, error) {
+ req, out := c.ListResiliencyPoliciesRequest(input)
return out, req.Send()
}
-// RemoveDraftAppVersionResourceMappingsWithContext is the same as RemoveDraftAppVersionResourceMappings with the addition of
+// ListResiliencyPoliciesWithContext is the same as ListResiliencyPolicies with the addition of
// the ability to pass a context and additional request options.
//
-// See RemoveDraftAppVersionResourceMappings for details on how to use this API operation.
+// See ListResiliencyPolicies for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsWithContext(ctx aws.Context, input *RemoveDraftAppVersionResourceMappingsInput, opts ...request.Option) (*RemoveDraftAppVersionResourceMappingsOutput, error) {
- req, out := c.RemoveDraftAppVersionResourceMappingsRequest(input)
+func (c *ResilienceHub) ListResiliencyPoliciesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, opts ...request.Option) (*ListResiliencyPoliciesOutput, error) {
+ req, out := c.ListResiliencyPoliciesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opResolveAppVersionResources = "ResolveAppVersionResources"
+// ListResiliencyPoliciesPages iterates over the pages of a ListResiliencyPolicies operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListResiliencyPolicies method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListResiliencyPolicies operation.
+// pageNum := 0
+// err := client.ListResiliencyPoliciesPages(params,
+// func(page *resiliencehub.ListResiliencyPoliciesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListResiliencyPoliciesPages(input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool) error {
+ return c.ListResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// ResolveAppVersionResourcesRequest generates a "aws/request.Request" representing the
-// client's request for the ResolveAppVersionResources operation. The "output" return
+// ListResiliencyPoliciesPagesWithContext same as ListResiliencyPoliciesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListResiliencyPoliciesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListResiliencyPoliciesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListResiliencyPoliciesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSopRecommendations = "ListSopRecommendations"
+
+// ListSopRecommendationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListSopRecommendations operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See ResolveAppVersionResources for more information on using the ResolveAppVersionResources
+// See ListSopRecommendations for more information on using the ListSopRecommendations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the ResolveAppVersionResourcesRequest method.
-// req, resp := client.ResolveAppVersionResourcesRequest(params)
+// // Example sending a request using the ListSopRecommendationsRequest method.
+// req, resp := client.ListSopRecommendationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources
-func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersionResourcesInput) (req *request.Request, output *ResolveAppVersionResourcesOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations
+func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendationsInput) (req *request.Request, output *ListSopRecommendationsOutput) {
op := &request.Operation{
- Name: opResolveAppVersionResources,
+ Name: opListSopRecommendations,
HTTPMethod: "POST",
- HTTPPath: "/resolve-app-version-resources",
+ HTTPPath: "/list-sop-recommendations",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &ResolveAppVersionResourcesInput{}
+ input = &ListSopRecommendationsInput{}
}
- output = &ResolveAppVersionResourcesOutput{}
+ output = &ListSopRecommendationsOutput{}
req = c.newRequest(op, input, output)
return
}
-// ResolveAppVersionResources API operation for AWS Resilience Hub.
+// ListSopRecommendations API operation for AWS Resilience Hub.
//
-// Resolves the resources for an application version.
+// Lists the standard operating procedure (SOP) recommendations for the AWS
+// Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation ResolveAppVersionResources for usage and error information.
+// API operation ListSopRecommendations for usage and error information.
//
// Returned Error Types:
//
@@ -4080,98 +4276,156 @@ func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersi
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources
-func (c *ResilienceHub) ResolveAppVersionResources(input *ResolveAppVersionResourcesInput) (*ResolveAppVersionResourcesOutput, error) {
- req, out := c.ResolveAppVersionResourcesRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations
+func (c *ResilienceHub) ListSopRecommendations(input *ListSopRecommendationsInput) (*ListSopRecommendationsOutput, error) {
+ req, out := c.ListSopRecommendationsRequest(input)
return out, req.Send()
}
-// ResolveAppVersionResourcesWithContext is the same as ResolveAppVersionResources with the addition of
+// ListSopRecommendationsWithContext is the same as ListSopRecommendations with the addition of
// the ability to pass a context and additional request options.
//
-// See ResolveAppVersionResources for details on how to use this API operation.
+// See ListSopRecommendations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) ResolveAppVersionResourcesWithContext(ctx aws.Context, input *ResolveAppVersionResourcesInput, opts ...request.Option) (*ResolveAppVersionResourcesOutput, error) {
- req, out := c.ResolveAppVersionResourcesRequest(input)
+func (c *ResilienceHub) ListSopRecommendationsWithContext(ctx aws.Context, input *ListSopRecommendationsInput, opts ...request.Option) (*ListSopRecommendationsOutput, error) {
+ req, out := c.ListSopRecommendationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opStartAppAssessment = "StartAppAssessment"
-
-// StartAppAssessmentRequest generates a "aws/request.Request" representing the
-// client's request for the StartAppAssessment operation. The "output" return
-// value will be populated with the request's response once the request completes
-// successfully.
+// ListSopRecommendationsPages iterates over the pages of a ListSopRecommendations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
//
-// Use "Send" method on the returned Request to send the API call to the service.
-// the "output" return value is not valid until after Send returns without error.
+// See ListSopRecommendations method for more information on how to use this operation.
//
-// See StartAppAssessment for more information on using the StartAppAssessment
-// API call, and error handling.
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSopRecommendations operation.
+// pageNum := 0
+// err := client.ListSopRecommendationsPages(params,
+// func(page *resiliencehub.ListSopRecommendationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListSopRecommendationsPages(input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool) error {
+ return c.ListSopRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSopRecommendationsPagesWithContext same as ListSopRecommendationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListSopRecommendationsPagesWithContext(ctx aws.Context, input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSopRecommendationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSopRecommendationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSopRecommendationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSuggestedResiliencyPolicies = "ListSuggestedResiliencyPolicies"
+
+// ListSuggestedResiliencyPoliciesRequest generates a "aws/request.Request" representing the
+// client's request for the ListSuggestedResiliencyPolicies operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSuggestedResiliencyPolicies for more information on using the ListSuggestedResiliencyPolicies
+// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the StartAppAssessmentRequest method.
-// req, resp := client.StartAppAssessmentRequest(params)
+// // Example sending a request using the ListSuggestedResiliencyPoliciesRequest method.
+// req, resp := client.ListSuggestedResiliencyPoliciesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment
-func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput) (req *request.Request, output *StartAppAssessmentOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies
+func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSuggestedResiliencyPoliciesInput) (req *request.Request, output *ListSuggestedResiliencyPoliciesOutput) {
op := &request.Operation{
- Name: opStartAppAssessment,
- HTTPMethod: "POST",
- HTTPPath: "/start-app-assessment",
+ Name: opListSuggestedResiliencyPolicies,
+ HTTPMethod: "GET",
+ HTTPPath: "/list-suggested-resiliency-policies",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &StartAppAssessmentInput{}
+ input = &ListSuggestedResiliencyPoliciesInput{}
}
- output = &StartAppAssessmentOutput{}
+ output = &ListSuggestedResiliencyPoliciesOutput{}
req = c.newRequest(op, input, output)
return
}
-// StartAppAssessment API operation for AWS Resilience Hub.
+// ListSuggestedResiliencyPolicies API operation for AWS Resilience Hub.
//
-// Creates a new application assessment for an application.
+// Lists the suggested resiliency policies for the AWS Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation StartAppAssessment for usage and error information.
+// API operation ListSuggestedResiliencyPolicies for usage and error information.
//
// Returned Error Types:
//
@@ -4180,104 +4434,144 @@ func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
-//
-// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-//
-// - ServiceQuotaExceededException
-// You have exceeded your service quota. To perform the requested action, remove
-// some of the relevant resources, or use Service Quotas to request a service
-// quota increase.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment
-func (c *ResilienceHub) StartAppAssessment(input *StartAppAssessmentInput) (*StartAppAssessmentOutput, error) {
- req, out := c.StartAppAssessmentRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies
+func (c *ResilienceHub) ListSuggestedResiliencyPolicies(input *ListSuggestedResiliencyPoliciesInput) (*ListSuggestedResiliencyPoliciesOutput, error) {
+ req, out := c.ListSuggestedResiliencyPoliciesRequest(input)
return out, req.Send()
}
-// StartAppAssessmentWithContext is the same as StartAppAssessment with the addition of
+// ListSuggestedResiliencyPoliciesWithContext is the same as ListSuggestedResiliencyPolicies with the addition of
// the ability to pass a context and additional request options.
//
-// See StartAppAssessment for details on how to use this API operation.
+// See ListSuggestedResiliencyPolicies for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) StartAppAssessmentWithContext(ctx aws.Context, input *StartAppAssessmentInput, opts ...request.Option) (*StartAppAssessmentOutput, error) {
- req, out := c.StartAppAssessmentRequest(input)
+func (c *ResilienceHub) ListSuggestedResiliencyPoliciesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, opts ...request.Option) (*ListSuggestedResiliencyPoliciesOutput, error) {
+ req, out := c.ListSuggestedResiliencyPoliciesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opTagResource = "TagResource"
+// ListSuggestedResiliencyPoliciesPages iterates over the pages of a ListSuggestedResiliencyPolicies operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSuggestedResiliencyPolicies method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSuggestedResiliencyPolicies operation.
+// pageNum := 0
+// err := client.ListSuggestedResiliencyPoliciesPages(params,
+// func(page *resiliencehub.ListSuggestedResiliencyPoliciesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPages(input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool) error {
+ return c.ListSuggestedResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// TagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the TagResource operation. The "output" return
+// ListSuggestedResiliencyPoliciesPagesWithContext same as ListSuggestedResiliencyPoliciesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPagesWithContext(ctx aws.Context, input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSuggestedResiliencyPoliciesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSuggestedResiliencyPoliciesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSuggestedResiliencyPoliciesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See TagResource for more information on using the TagResource
+// See ListTagsForResource for more information on using the ListTagsForResource
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the TagResourceRequest method.
-// req, resp := client.TagResourceRequest(params)
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource
-func (c *ResilienceHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource
+func (c *ResilienceHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
op := &request.Operation{
- Name: opTagResource,
- HTTPMethod: "POST",
+ Name: opListTagsForResource,
+ HTTPMethod: "GET",
HTTPPath: "/tags/{resourceArn}",
}
if input == nil {
- input = &TagResourceInput{}
+ input = &ListTagsForResourceInput{}
}
- output = &TagResourceOutput{}
+ output = &ListTagsForResourceOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// TagResource API operation for AWS Resilience Hub.
+// ListTagsForResource API operation for AWS Resilience Hub.
//
-// Applies one or more tags to a resource.
+// Lists the tags for your resources in your AWS Resilience Hub applications.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation TagResource for usage and error information.
+// API operation ListTagsForResource for usage and error information.
//
// Returned Error Types:
//
@@ -4286,93 +4580,99 @@ func (c *ResilienceHub) TagResourceRequest(input *TagResourceInput) (req *reques
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource
-func (c *ResilienceHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource
+func (c *ResilienceHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
return out, req.Send()
}
-// TagResourceWithContext is the same as TagResource with the addition of
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
// the ability to pass a context and additional request options.
//
-// See TagResource for details on how to use this API operation.
+// See ListTagsForResource for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
- req, out := c.TagResourceRequest(input)
+func (c *ResilienceHub) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUntagResource = "UntagResource"
+const opListTestRecommendations = "ListTestRecommendations"
-// UntagResourceRequest generates a "aws/request.Request" representing the
-// client's request for the UntagResource operation. The "output" return
+// ListTestRecommendationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListTestRecommendations operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UntagResource for more information on using the UntagResource
+// See ListTestRecommendations for more information on using the ListTestRecommendations
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UntagResourceRequest method.
-// req, resp := client.UntagResourceRequest(params)
+// // Example sending a request using the ListTestRecommendationsRequest method.
+// req, resp := client.ListTestRecommendationsRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource
-func (c *ResilienceHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations
+func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommendationsInput) (req *request.Request, output *ListTestRecommendationsOutput) {
op := &request.Operation{
- Name: opUntagResource,
- HTTPMethod: "DELETE",
- HTTPPath: "/tags/{resourceArn}",
+ Name: opListTestRecommendations,
+ HTTPMethod: "POST",
+ HTTPPath: "/list-test-recommendations",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UntagResourceInput{}
+ input = &ListTestRecommendationsInput{}
}
- output = &UntagResourceOutput{}
+ output = &ListTestRecommendationsOutput{}
req = c.newRequest(op, input, output)
- req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
-// UntagResource API operation for AWS Resilience Hub.
+// ListTestRecommendations API operation for AWS Resilience Hub.
//
-// Removes one or more tags from a resource.
+// Lists the test recommendations for the AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation UntagResource for usage and error information.
+// API operation ListTestRecommendations for usage and error information.
//
// Returned Error Types:
//
@@ -4381,92 +4681,158 @@ func (c *ResilienceHub) UntagResourceRequest(input *UntagResourceInput) (req *re
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource
-func (c *ResilienceHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations
+func (c *ResilienceHub) ListTestRecommendations(input *ListTestRecommendationsInput) (*ListTestRecommendationsOutput, error) {
+ req, out := c.ListTestRecommendationsRequest(input)
return out, req.Send()
}
-// UntagResourceWithContext is the same as UntagResource with the addition of
+// ListTestRecommendationsWithContext is the same as ListTestRecommendations with the addition of
// the ability to pass a context and additional request options.
//
-// See UntagResource for details on how to use this API operation.
+// See ListTestRecommendations for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
- req, out := c.UntagResourceRequest(input)
+func (c *ResilienceHub) ListTestRecommendationsWithContext(ctx aws.Context, input *ListTestRecommendationsInput, opts ...request.Option) (*ListTestRecommendationsOutput, error) {
+ req, out := c.ListTestRecommendationsRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateApp = "UpdateApp"
-
-// UpdateAppRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateApp operation. The "output" return
+// ListTestRecommendationsPages iterates over the pages of a ListTestRecommendations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListTestRecommendations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListTestRecommendations operation.
+// pageNum := 0
+// err := client.ListTestRecommendationsPages(params,
+// func(page *resiliencehub.ListTestRecommendationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListTestRecommendationsPages(input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool) error {
+ return c.ListTestRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListTestRecommendationsPagesWithContext same as ListTestRecommendationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListTestRecommendationsPagesWithContext(ctx aws.Context, input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListTestRecommendationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListTestRecommendationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListTestRecommendationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListUnsupportedAppVersionResources = "ListUnsupportedAppVersionResources"
+
+// ListUnsupportedAppVersionResourcesRequest generates a "aws/request.Request" representing the
+// client's request for the ListUnsupportedAppVersionResources operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateApp for more information on using the UpdateApp
+// See ListUnsupportedAppVersionResources for more information on using the ListUnsupportedAppVersionResources
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateAppRequest method.
-// req, resp := client.UpdateAppRequest(params)
+// // Example sending a request using the ListUnsupportedAppVersionResourcesRequest method.
+// req, resp := client.ListUnsupportedAppVersionResourcesRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp
-func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources
+func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUnsupportedAppVersionResourcesInput) (req *request.Request, output *ListUnsupportedAppVersionResourcesOutput) {
op := &request.Operation{
- Name: opUpdateApp,
+ Name: opListUnsupportedAppVersionResources,
HTTPMethod: "POST",
- HTTPPath: "/update-app",
+ HTTPPath: "/list-unsupported-app-version-resources",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
}
if input == nil {
- input = &UpdateAppInput{}
+ input = &ListUnsupportedAppVersionResourcesInput{}
}
- output = &UpdateAppOutput{}
+ output = &ListUnsupportedAppVersionResourcesOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateApp API operation for AWS Resilience Hub.
+// ListUnsupportedAppVersionResources API operation for AWS Resilience Hub.
//
-// Updates an application.
+// Lists the resources that are not currently supported in AWS Resilience Hub.
+// An unsupported resource is a resource that exists in the object that was
+// used to create an app, but is not supported by AWS Resilience Hub.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation UpdateApp for usage and error information.
+// API operation ListUnsupportedAppVersionResources for usage and error information.
//
// Returned Error Types:
//
@@ -4475,98 +4841,150 @@ func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Re
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp
-func (c *ResilienceHub) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) {
- req, out := c.UpdateAppRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources
+func (c *ResilienceHub) ListUnsupportedAppVersionResources(input *ListUnsupportedAppVersionResourcesInput) (*ListUnsupportedAppVersionResourcesOutput, error) {
+ req, out := c.ListUnsupportedAppVersionResourcesRequest(input)
return out, req.Send()
}
-// UpdateAppWithContext is the same as UpdateApp with the addition of
+// ListUnsupportedAppVersionResourcesWithContext is the same as ListUnsupportedAppVersionResources with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateApp for details on how to use this API operation.
+// See ListUnsupportedAppVersionResources for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error) {
- req, out := c.UpdateAppRequest(input)
+func (c *ResilienceHub) ListUnsupportedAppVersionResourcesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, opts ...request.Option) (*ListUnsupportedAppVersionResourcesOutput, error) {
+ req, out := c.ListUnsupportedAppVersionResourcesRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-const opUpdateResiliencyPolicy = "UpdateResiliencyPolicy"
+// ListUnsupportedAppVersionResourcesPages iterates over the pages of a ListUnsupportedAppVersionResources operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListUnsupportedAppVersionResources method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListUnsupportedAppVersionResources operation.
+// pageNum := 0
+// err := client.ListUnsupportedAppVersionResourcesPages(params,
+// func(page *resiliencehub.ListUnsupportedAppVersionResourcesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPages(input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool) error {
+ return c.ListUnsupportedAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
-// UpdateResiliencyPolicyRequest generates a "aws/request.Request" representing the
-// client's request for the UpdateResiliencyPolicy operation. The "output" return
+// ListUnsupportedAppVersionResourcesPagesWithContext same as ListUnsupportedAppVersionResourcesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPagesWithContext(ctx aws.Context, input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListUnsupportedAppVersionResourcesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListUnsupportedAppVersionResourcesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListUnsupportedAppVersionResourcesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opPublishAppVersion = "PublishAppVersion"
+
+// PublishAppVersionRequest generates a "aws/request.Request" representing the
+// client's request for the PublishAppVersion operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
-// See UpdateResiliencyPolicy for more information on using the UpdateResiliencyPolicy
+// See PublishAppVersion for more information on using the PublishAppVersion
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
-// // Example sending a request using the UpdateResiliencyPolicyRequest method.
-// req, resp := client.UpdateResiliencyPolicyRequest(params)
+// // Example sending a request using the PublishAppVersionRequest method.
+// req, resp := client.PublishAppVersionRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy
-func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPolicyInput) (req *request.Request, output *UpdateResiliencyPolicyOutput) {
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion
+func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput) (req *request.Request, output *PublishAppVersionOutput) {
op := &request.Operation{
- Name: opUpdateResiliencyPolicy,
+ Name: opPublishAppVersion,
HTTPMethod: "POST",
- HTTPPath: "/update-resiliency-policy",
+ HTTPPath: "/publish-app-version",
}
if input == nil {
- input = &UpdateResiliencyPolicyInput{}
+ input = &PublishAppVersionInput{}
}
- output = &UpdateResiliencyPolicyOutput{}
+ output = &PublishAppVersionOutput{}
req = c.newRequest(op, input, output)
return
}
-// UpdateResiliencyPolicy API operation for AWS Resilience Hub.
+// PublishAppVersion API operation for AWS Resilience Hub.
//
-// Updates a resiliency policy.
+// Publishes a new version of a specific AWS Resilience Hub application.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Resilience Hub's
-// API operation UpdateResiliencyPolicy for usage and error information.
+// API operation PublishAppVersion for usage and error information.
//
// Returned Error Types:
//
@@ -4575,132 +4993,3399 @@ func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPol
// Hub service.
//
// - ResourceNotFoundException
-// The specified resource could not be found.
+// This exception occurs when the specified resource could not be found.
//
// - ConflictException
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
//
// - ThrottlingException
-// The limit on the number of requests per second was exceeded.
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
//
// - ValidationException
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
//
// - AccessDeniedException
// You don't have permissions to perform the requested operation. The user or
// role that is making the request must have at least one IAM permissions policy
// attached that grants the required permissions.
//
-// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy
-func (c *ResilienceHub) UpdateResiliencyPolicy(input *UpdateResiliencyPolicyInput) (*UpdateResiliencyPolicyOutput, error) {
- req, out := c.UpdateResiliencyPolicyRequest(input)
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion
+func (c *ResilienceHub) PublishAppVersion(input *PublishAppVersionInput) (*PublishAppVersionOutput, error) {
+ req, out := c.PublishAppVersionRequest(input)
return out, req.Send()
}
-// UpdateResiliencyPolicyWithContext is the same as UpdateResiliencyPolicy with the addition of
+// PublishAppVersionWithContext is the same as PublishAppVersion with the addition of
// the ability to pass a context and additional request options.
//
-// See UpdateResiliencyPolicy for details on how to use this API operation.
+// See PublishAppVersion for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
-func (c *ResilienceHub) UpdateResiliencyPolicyWithContext(ctx aws.Context, input *UpdateResiliencyPolicyInput, opts ...request.Option) (*UpdateResiliencyPolicyOutput, error) {
- req, out := c.UpdateResiliencyPolicyRequest(input)
+func (c *ResilienceHub) PublishAppVersionWithContext(ctx aws.Context, input *PublishAppVersionInput, opts ...request.Option) (*PublishAppVersionOutput, error) {
+ req, out := c.PublishAppVersionRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
-// You don't have permissions to perform the requested operation. The user or
-// role that is making the request must have at least one IAM permissions policy
-// attached that grants the required permissions.
-type AccessDeniedException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"message" min:"1" type:"string"`
-}
+const opPutDraftAppVersionTemplate = "PutDraftAppVersionTemplate"
-// String returns the string representation.
+// PutDraftAppVersionTemplateRequest generates a "aws/request.Request" representing the
+// client's request for the PutDraftAppVersionTemplate operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s AccessDeniedException) GoString() string {
- return s.String()
-}
+// See PutDraftAppVersionTemplate for more information on using the PutDraftAppVersionTemplate
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutDraftAppVersionTemplateRequest method.
+// req, resp := client.PutDraftAppVersionTemplateRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate
+func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVersionTemplateInput) (req *request.Request, output *PutDraftAppVersionTemplateOutput) {
+ op := &request.Operation{
+ Name: opPutDraftAppVersionTemplate,
+ HTTPMethod: "POST",
+ HTTPPath: "/put-draft-app-version-template",
+ }
-func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
- return &AccessDeniedException{
- RespMetadata: v,
+ if input == nil {
+ input = &PutDraftAppVersionTemplateInput{}
+ }
+
+ output = &PutDraftAppVersionTemplateOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutDraftAppVersionTemplate API operation for AWS Resilience Hub.
+//
+// Adds or updates the app template for an AWS Resilience Hub application draft
+// version.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation PutDraftAppVersionTemplate for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate
+func (c *ResilienceHub) PutDraftAppVersionTemplate(input *PutDraftAppVersionTemplateInput) (*PutDraftAppVersionTemplateOutput, error) {
+ req, out := c.PutDraftAppVersionTemplateRequest(input)
+ return out, req.Send()
+}
+
+// PutDraftAppVersionTemplateWithContext is the same as PutDraftAppVersionTemplate with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutDraftAppVersionTemplate for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) PutDraftAppVersionTemplateWithContext(ctx aws.Context, input *PutDraftAppVersionTemplateInput, opts ...request.Option) (*PutDraftAppVersionTemplateOutput, error) {
+ req, out := c.PutDraftAppVersionTemplateRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opRemoveDraftAppVersionResourceMappings = "RemoveDraftAppVersionResourceMappings"
+
+// RemoveDraftAppVersionResourceMappingsRequest generates a "aws/request.Request" representing the
+// client's request for the RemoveDraftAppVersionResourceMappings operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See RemoveDraftAppVersionResourceMappings for more information on using the RemoveDraftAppVersionResourceMappings
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the RemoveDraftAppVersionResourceMappingsRequest method.
+// req, resp := client.RemoveDraftAppVersionResourceMappingsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings
+func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *RemoveDraftAppVersionResourceMappingsInput) (req *request.Request, output *RemoveDraftAppVersionResourceMappingsOutput) {
+ op := &request.Operation{
+ Name: opRemoveDraftAppVersionResourceMappings,
+ HTTPMethod: "POST",
+ HTTPPath: "/remove-draft-app-version-resource-mappings",
+ }
+
+ if input == nil {
+ input = &RemoveDraftAppVersionResourceMappingsInput{}
+ }
+
+ output = &RemoveDraftAppVersionResourceMappingsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// RemoveDraftAppVersionResourceMappings API operation for AWS Resilience Hub.
+//
+// Removes resource mappings from a draft application version.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation RemoveDraftAppVersionResourceMappings for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings
+func (c *ResilienceHub) RemoveDraftAppVersionResourceMappings(input *RemoveDraftAppVersionResourceMappingsInput) (*RemoveDraftAppVersionResourceMappingsOutput, error) {
+ req, out := c.RemoveDraftAppVersionResourceMappingsRequest(input)
+ return out, req.Send()
+}
+
+// RemoveDraftAppVersionResourceMappingsWithContext is the same as RemoveDraftAppVersionResourceMappings with the addition of
+// the ability to pass a context and additional request options.
+//
+// See RemoveDraftAppVersionResourceMappings for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsWithContext(ctx aws.Context, input *RemoveDraftAppVersionResourceMappingsInput, opts ...request.Option) (*RemoveDraftAppVersionResourceMappingsOutput, error) {
+ req, out := c.RemoveDraftAppVersionResourceMappingsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opResolveAppVersionResources = "ResolveAppVersionResources"
+
+// ResolveAppVersionResourcesRequest generates a "aws/request.Request" representing the
+// client's request for the ResolveAppVersionResources operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ResolveAppVersionResources for more information on using the ResolveAppVersionResources
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ResolveAppVersionResourcesRequest method.
+// req, resp := client.ResolveAppVersionResourcesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources
+func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersionResourcesInput) (req *request.Request, output *ResolveAppVersionResourcesOutput) {
+ op := &request.Operation{
+ Name: opResolveAppVersionResources,
+ HTTPMethod: "POST",
+ HTTPPath: "/resolve-app-version-resources",
+ }
+
+ if input == nil {
+ input = &ResolveAppVersionResourcesInput{}
+ }
+
+ output = &ResolveAppVersionResourcesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ResolveAppVersionResources API operation for AWS Resilience Hub.
+//
+// Resolves the resources for an application version.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation ResolveAppVersionResources for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources
+func (c *ResilienceHub) ResolveAppVersionResources(input *ResolveAppVersionResourcesInput) (*ResolveAppVersionResourcesOutput, error) {
+ req, out := c.ResolveAppVersionResourcesRequest(input)
+ return out, req.Send()
+}
+
+// ResolveAppVersionResourcesWithContext is the same as ResolveAppVersionResources with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ResolveAppVersionResources for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) ResolveAppVersionResourcesWithContext(ctx aws.Context, input *ResolveAppVersionResourcesInput, opts ...request.Option) (*ResolveAppVersionResourcesOutput, error) {
+ req, out := c.ResolveAppVersionResourcesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opStartAppAssessment = "StartAppAssessment"
+
+// StartAppAssessmentRequest generates a "aws/request.Request" representing the
+// client's request for the StartAppAssessment operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See StartAppAssessment for more information on using the StartAppAssessment
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the StartAppAssessmentRequest method.
+// req, resp := client.StartAppAssessmentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment
+func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput) (req *request.Request, output *StartAppAssessmentOutput) {
+ op := &request.Operation{
+ Name: opStartAppAssessment,
+ HTTPMethod: "POST",
+ HTTPPath: "/start-app-assessment",
+ }
+
+ if input == nil {
+ input = &StartAppAssessmentInput{}
+ }
+
+ output = &StartAppAssessmentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// StartAppAssessment API operation for AWS Resilience Hub.
+//
+// Creates a new application assessment for an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation StartAppAssessment for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ServiceQuotaExceededException
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment
+func (c *ResilienceHub) StartAppAssessment(input *StartAppAssessmentInput) (*StartAppAssessmentOutput, error) {
+ req, out := c.StartAppAssessmentRequest(input)
+ return out, req.Send()
+}
+
+// StartAppAssessmentWithContext is the same as StartAppAssessment with the addition of
+// the ability to pass a context and additional request options.
+//
+// See StartAppAssessment for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) StartAppAssessmentWithContext(ctx aws.Context, input *StartAppAssessmentInput, opts ...request.Option) (*StartAppAssessmentOutput, error) {
+ req, out := c.StartAppAssessmentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TagResource for more information on using the TagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource
+func (c *ResilienceHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for AWS Resilience Hub.
+//
+// Applies one or more tags to a resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource
+func (c *ResilienceHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource
+func (c *ResilienceHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for AWS Resilience Hub.
+//
+// Removes one or more tags from a resource.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource
+func (c *ResilienceHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateApp = "UpdateApp"
+
+// UpdateAppRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateApp operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateApp for more information on using the UpdateApp
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateAppRequest method.
+// req, resp := client.UpdateAppRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp
+func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) {
+ op := &request.Operation{
+ Name: opUpdateApp,
+ HTTPMethod: "POST",
+ HTTPPath: "/update-app",
+ }
+
+ if input == nil {
+ input = &UpdateAppInput{}
+ }
+
+ output = &UpdateAppOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateApp API operation for AWS Resilience Hub.
+//
+// Updates an application.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UpdateApp for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp
+func (c *ResilienceHub) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) {
+ req, out := c.UpdateAppRequest(input)
+ return out, req.Send()
+}
+
+// UpdateAppWithContext is the same as UpdateApp with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateApp for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UpdateAppWithContext(ctx aws.Context, input *UpdateAppInput, opts ...request.Option) (*UpdateAppOutput, error) {
+ req, out := c.UpdateAppRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateAppVersion = "UpdateAppVersion"
+
+// UpdateAppVersionRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateAppVersion operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateAppVersion for more information on using the UpdateAppVersion
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateAppVersionRequest method.
+// req, resp := client.UpdateAppVersionRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersion
+func (c *ResilienceHub) UpdateAppVersionRequest(input *UpdateAppVersionInput) (req *request.Request, output *UpdateAppVersionOutput) {
+ op := &request.Operation{
+ Name: opUpdateAppVersion,
+ HTTPMethod: "POST",
+ HTTPPath: "/update-app-version",
+ }
+
+ if input == nil {
+ input = &UpdateAppVersionInput{}
+ }
+
+ output = &UpdateAppVersionOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateAppVersion API operation for AWS Resilience Hub.
+//
+// Updates the AWS Resilience Hub application version.
+//
+// This API updates the AWS Resilience Hub application draft version. To use
+// this information for running resiliency assessments, you must publish the
+// AWS Resilience Hub application using the PublishAppVersion API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UpdateAppVersion for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersion
+func (c *ResilienceHub) UpdateAppVersion(input *UpdateAppVersionInput) (*UpdateAppVersionOutput, error) {
+ req, out := c.UpdateAppVersionRequest(input)
+ return out, req.Send()
+}
+
+// UpdateAppVersionWithContext is the same as UpdateAppVersion with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateAppVersion for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UpdateAppVersionWithContext(ctx aws.Context, input *UpdateAppVersionInput, opts ...request.Option) (*UpdateAppVersionOutput, error) {
+ req, out := c.UpdateAppVersionRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateAppVersionAppComponent = "UpdateAppVersionAppComponent"
+
+// UpdateAppVersionAppComponentRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateAppVersionAppComponent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateAppVersionAppComponent for more information on using the UpdateAppVersionAppComponent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateAppVersionAppComponentRequest method.
+// req, resp := client.UpdateAppVersionAppComponentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponent
+func (c *ResilienceHub) UpdateAppVersionAppComponentRequest(input *UpdateAppVersionAppComponentInput) (req *request.Request, output *UpdateAppVersionAppComponentOutput) {
+ op := &request.Operation{
+ Name: opUpdateAppVersionAppComponent,
+ HTTPMethod: "POST",
+ HTTPPath: "/update-app-version-app-component",
+ }
+
+ if input == nil {
+ input = &UpdateAppVersionAppComponentInput{}
+ }
+
+ output = &UpdateAppVersionAppComponentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateAppVersionAppComponent API operation for AWS Resilience Hub.
+//
+// Updates an existing Application Component in the AWS Resilience Hub application.
+//
+// This API updates the AWS Resilience Hub application draft version. To use
+// this Application Component for running assessments, you must publish the
+// AWS Resilience Hub application using the PublishAppVersion API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UpdateAppVersionAppComponent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponent
+func (c *ResilienceHub) UpdateAppVersionAppComponent(input *UpdateAppVersionAppComponentInput) (*UpdateAppVersionAppComponentOutput, error) {
+ req, out := c.UpdateAppVersionAppComponentRequest(input)
+ return out, req.Send()
+}
+
+// UpdateAppVersionAppComponentWithContext is the same as UpdateAppVersionAppComponent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateAppVersionAppComponent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UpdateAppVersionAppComponentWithContext(ctx aws.Context, input *UpdateAppVersionAppComponentInput, opts ...request.Option) (*UpdateAppVersionAppComponentOutput, error) {
+ req, out := c.UpdateAppVersionAppComponentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateAppVersionResource = "UpdateAppVersionResource"
+
+// UpdateAppVersionResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateAppVersionResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateAppVersionResource for more information on using the UpdateAppVersionResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateAppVersionResourceRequest method.
+// req, resp := client.UpdateAppVersionResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResource
+func (c *ResilienceHub) UpdateAppVersionResourceRequest(input *UpdateAppVersionResourceInput) (req *request.Request, output *UpdateAppVersionResourceOutput) {
+ op := &request.Operation{
+ Name: opUpdateAppVersionResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/update-app-version-resource",
+ }
+
+ if input == nil {
+ input = &UpdateAppVersionResourceInput{}
+ }
+
+ output = &UpdateAppVersionResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateAppVersionResource API operation for AWS Resilience Hub.
+//
+// Updates the resource details in the AWS Resilience Hub application.
+//
+// - This action has no effect outside AWS Resilience Hub.
+//
+// - This API updates the AWS Resilience Hub application draft version. To
+// use this resource for running resiliency assessments, you must publish
+// the AWS Resilience Hub application using the PublishAppVersion API.
+//
+// - To update application version with new physicalResourceID, you must
+// call ResolveAppVersionResources API.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UpdateAppVersionResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ServiceQuotaExceededException
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResource
+func (c *ResilienceHub) UpdateAppVersionResource(input *UpdateAppVersionResourceInput) (*UpdateAppVersionResourceOutput, error) {
+ req, out := c.UpdateAppVersionResourceRequest(input)
+ return out, req.Send()
+}
+
+// UpdateAppVersionResourceWithContext is the same as UpdateAppVersionResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateAppVersionResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UpdateAppVersionResourceWithContext(ctx aws.Context, input *UpdateAppVersionResourceInput, opts ...request.Option) (*UpdateAppVersionResourceOutput, error) {
+ req, out := c.UpdateAppVersionResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateResiliencyPolicy = "UpdateResiliencyPolicy"
+
+// UpdateResiliencyPolicyRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateResiliencyPolicy operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateResiliencyPolicy for more information on using the UpdateResiliencyPolicy
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateResiliencyPolicyRequest method.
+// req, resp := client.UpdateResiliencyPolicyRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy
+func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPolicyInput) (req *request.Request, output *UpdateResiliencyPolicyOutput) {
+ op := &request.Operation{
+ Name: opUpdateResiliencyPolicy,
+ HTTPMethod: "POST",
+ HTTPPath: "/update-resiliency-policy",
+ }
+
+ if input == nil {
+ input = &UpdateResiliencyPolicyInput{}
+ }
+
+ output = &UpdateResiliencyPolicyOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateResiliencyPolicy API operation for AWS Resilience Hub.
+//
+// Updates a resiliency policy.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Resilience Hub's
+// API operation UpdateResiliencyPolicy for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+//
+// - ResourceNotFoundException
+// This exception occurs when the specified resource could not be found.
+//
+// - ConflictException
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+//
+// - ThrottlingException
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+//
+// - ValidationException
+// This exception occurs when a request is not valid.
+//
+// - AccessDeniedException
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy
+func (c *ResilienceHub) UpdateResiliencyPolicy(input *UpdateResiliencyPolicyInput) (*UpdateResiliencyPolicyOutput, error) {
+ req, out := c.UpdateResiliencyPolicyRequest(input)
+ return out, req.Send()
+}
+
+// UpdateResiliencyPolicyWithContext is the same as UpdateResiliencyPolicy with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateResiliencyPolicy for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *ResilienceHub) UpdateResiliencyPolicyWithContext(ctx aws.Context, input *UpdateResiliencyPolicyInput, opts ...request.Option) (*UpdateResiliencyPolicyOutput, error) {
+ req, out := c.UpdateResiliencyPolicyRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// You don't have permissions to perform the requested operation. The user or
+// role that is making the request must have at least one IAM permissions policy
+// attached that grants the required permissions.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" min:"1" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type AddDraftAppVersionResourceMappingsInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Mappings used to map logical resources from the template to physical resources.
+ // You can use the mapping type CFN_STACK if the application template uses a
+ // logical stack name. Or you can map individual resources by using the mapping
+ // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
+ // is backed by a CloudFormation stack.
+ //
+ // ResourceMappings is a required field
+ ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AddDraftAppVersionResourceMappingsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AddDraftAppVersionResourceMappingsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *AddDraftAppVersionResourceMappingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "AddDraftAppVersionResourceMappingsInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ResourceMappings == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceMappings"))
+ }
+ if s.ResourceMappings != nil {
+ for i, v := range s.ResourceMappings {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceMappings", i), err.(request.ErrInvalidParams))
+ }
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *AddDraftAppVersionResourceMappingsInput) SetAppArn(v string) *AddDraftAppVersionResourceMappingsInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetResourceMappings sets the ResourceMappings field's value.
+func (s *AddDraftAppVersionResourceMappingsInput) SetResourceMappings(v []*ResourceMapping) *AddDraftAppVersionResourceMappingsInput {
+ s.ResourceMappings = v
+ return s
+}
+
+type AddDraftAppVersionResourceMappingsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Mappings used to map logical resources from the template to physical resources.
+ // You can use the mapping type CFN_STACK if the application template uses a
+ // logical stack name. Or you can map individual resources by using the mapping
+ // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
+ // is backed by a CloudFormation stack.
+ //
+ // ResourceMappings is a required field
+ ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AddDraftAppVersionResourceMappingsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AddDraftAppVersionResourceMappingsOutput) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *AddDraftAppVersionResourceMappingsOutput) SetAppArn(v string) *AddDraftAppVersionResourceMappingsOutput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *AddDraftAppVersionResourceMappingsOutput) SetAppVersion(v string) *AddDraftAppVersionResourceMappingsOutput {
+ s.AppVersion = &v
+ return s
+}
+
+// SetResourceMappings sets the ResourceMappings field's value.
+func (s *AddDraftAppVersionResourceMappingsOutput) SetResourceMappings(v []*ResourceMapping) *AddDraftAppVersionResourceMappingsOutput {
+ s.ResourceMappings = v
+ return s
+}
+
+// Defines a recommendation for a CloudWatch alarm.
+type AlarmRecommendation struct {
+ _ struct{} `type:"structure"`
+
+ // The Application Component for the CloudWatch alarm recommendation.
+ AppComponentName *string `locationName:"appComponentName" type:"string"`
+
+ // The description of the recommendation.
+ Description *string `locationName:"description" type:"string"`
+
+ // The list of CloudWatch alarm recommendations.
+ Items []*RecommendationItem `locationName:"items" type:"list"`
+
+ // The name of the alarm recommendation.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The prerequisite for the alarm recommendation.
+ Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`
+
+ // The identifier of the alarm recommendation.
+ //
+ // RecommendationId is a required field
+ RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`
+
+ // The reference identifier of the alarm recommendation.
+ //
+ // ReferenceId is a required field
+ ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
+
+ // The type of alarm recommendation.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" type:"string" required:"true" enum:"AlarmType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AlarmRecommendation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AlarmRecommendation) GoString() string {
+ return s.String()
+}
+
+// SetAppComponentName sets the AppComponentName field's value.
+func (s *AlarmRecommendation) SetAppComponentName(v string) *AlarmRecommendation {
+ s.AppComponentName = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *AlarmRecommendation) SetDescription(v string) *AlarmRecommendation {
+ s.Description = &v
+ return s
+}
+
+// SetItems sets the Items field's value.
+func (s *AlarmRecommendation) SetItems(v []*RecommendationItem) *AlarmRecommendation {
+ s.Items = v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AlarmRecommendation) SetName(v string) *AlarmRecommendation {
+ s.Name = &v
+ return s
+}
+
+// SetPrerequisite sets the Prerequisite field's value.
+func (s *AlarmRecommendation) SetPrerequisite(v string) *AlarmRecommendation {
+ s.Prerequisite = &v
+ return s
+}
+
+// SetRecommendationId sets the RecommendationId field's value.
+func (s *AlarmRecommendation) SetRecommendationId(v string) *AlarmRecommendation {
+ s.RecommendationId = &v
+ return s
+}
+
+// SetReferenceId sets the ReferenceId field's value.
+func (s *AlarmRecommendation) SetReferenceId(v string) *AlarmRecommendation {
+ s.ReferenceId = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *AlarmRecommendation) SetType(v string) *AlarmRecommendation {
+ s.Type = &v
+ return s
+}
+
+// Defines an AWS Resilience Hub application.
+type App struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Assessment execution schedule with 'Daily' or 'Disabled' values.
+ AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
+
+ // The current status of compliance for the resiliency policy.
+ ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`
+
+ // The timestamp for when the app was created.
+ //
+ // CreationTime is a required field
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
+
+ // The optional description for an app.
+ Description *string `locationName:"description" type:"string"`
+
+ // The timestamp for the most recent compliance evaluation.
+ LastAppComplianceEvaluationTime *time.Time `locationName:"lastAppComplianceEvaluationTime" type:"timestamp"`
+
+ // The timestamp for the most recent resiliency score evaluation.
+ LastResiliencyScoreEvaluationTime *time.Time `locationName:"lastResiliencyScoreEvaluationTime" type:"timestamp"`
+
+ // The name for the application.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ PolicyArn *string `locationName:"policyArn" type:"string"`
+
+ // The current resiliency score for the application.
+ ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
+
+ // The status of the application.
+ Status *string `locationName:"status" type:"string" enum:"AppStatusType"`
+
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by App's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s App) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s App) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *App) SetAppArn(v string) *App {
+ s.AppArn = &v
+ return s
+}
+
+// SetAssessmentSchedule sets the AssessmentSchedule field's value.
+func (s *App) SetAssessmentSchedule(v string) *App {
+ s.AssessmentSchedule = &v
+ return s
+}
+
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *App) SetComplianceStatus(v string) *App {
+ s.ComplianceStatus = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *App) SetCreationTime(v time.Time) *App {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *App) SetDescription(v string) *App {
+ s.Description = &v
+ return s
+}
+
+// SetLastAppComplianceEvaluationTime sets the LastAppComplianceEvaluationTime field's value.
+func (s *App) SetLastAppComplianceEvaluationTime(v time.Time) *App {
+ s.LastAppComplianceEvaluationTime = &v
+ return s
+}
+
+// SetLastResiliencyScoreEvaluationTime sets the LastResiliencyScoreEvaluationTime field's value.
+func (s *App) SetLastResiliencyScoreEvaluationTime(v time.Time) *App {
+ s.LastResiliencyScoreEvaluationTime = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *App) SetName(v string) *App {
+ s.Name = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *App) SetPolicyArn(v string) *App {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetResiliencyScore sets the ResiliencyScore field's value.
+func (s *App) SetResiliencyScore(v float64) *App {
+ s.ResiliencyScore = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *App) SetStatus(v string) *App {
+ s.Status = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *App) SetTags(v map[string]*string) *App {
+ s.Tags = v
+ return s
+}
+
+// Defines an application assessment.
+type AppAssessment struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
+
+ // The version of the application.
+ AppVersion *string `locationName:"appVersion" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+
+ // The name of the assessment.
+ AssessmentName *string `locationName:"assessmentName" type:"string"`
+
+ // The current status of the assessment for the resiliency policy.
+ //
+ // AssessmentStatus is a required field
+ AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
+
+ // The application compliance against the resiliency policy.
+ Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
+
+ // The current status of the compliance for the resiliency policy.
+ ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
+
+ // The cost for the application.
+ Cost *Cost `locationName:"cost" type:"structure"`
+
+ // The end time for the action.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // The entity that invoked the assessment.
+ //
+ // Invoker is a required field
+ Invoker *string `locationName:"invoker" type:"string" required:"true" enum:"AssessmentInvoker"`
+
+ // Error or warning message from the assessment execution
+ Message *string `locationName:"message" min:"1" type:"string"`
+
+ // The resiliency policy.
+ Policy *ResiliencyPolicy `locationName:"policy" type:"structure"`
+
+ // The current resiliency score for the application.
+ ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`
+
+ // A resource error object containing a list of errors retrieving an application's
+ // resources.
+ ResourceErrorsDetails *ResourceErrorsDetails `locationName:"resourceErrorsDetails" type:"structure"`
+
+ // The starting time for the action.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by AppAssessment's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppAssessment) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppAssessment) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *AppAssessment) SetAppArn(v string) *AppAssessment {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *AppAssessment) SetAppVersion(v string) *AppAssessment {
+ s.AppVersion = &v
+ return s
+}
+
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *AppAssessment) SetAssessmentArn(v string) *AppAssessment {
+ s.AssessmentArn = &v
+ return s
+}
+
+// SetAssessmentName sets the AssessmentName field's value.
+func (s *AppAssessment) SetAssessmentName(v string) *AppAssessment {
+ s.AssessmentName = &v
+ return s
+}
+
+// SetAssessmentStatus sets the AssessmentStatus field's value.
+func (s *AppAssessment) SetAssessmentStatus(v string) *AppAssessment {
+ s.AssessmentStatus = &v
+ return s
+}
+
+// SetCompliance sets the Compliance field's value.
+func (s *AppAssessment) SetCompliance(v map[string]*DisruptionCompliance) *AppAssessment {
+ s.Compliance = v
+ return s
+}
+
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *AppAssessment) SetComplianceStatus(v string) *AppAssessment {
+ s.ComplianceStatus = &v
+ return s
+}
+
+// SetCost sets the Cost field's value.
+func (s *AppAssessment) SetCost(v *Cost) *AppAssessment {
+ s.Cost = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *AppAssessment) SetEndTime(v time.Time) *AppAssessment {
+ s.EndTime = &v
+ return s
+}
+
+// SetInvoker sets the Invoker field's value.
+func (s *AppAssessment) SetInvoker(v string) *AppAssessment {
+ s.Invoker = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AppAssessment) SetMessage(v string) *AppAssessment {
+ s.Message = &v
+ return s
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *AppAssessment) SetPolicy(v *ResiliencyPolicy) *AppAssessment {
+ s.Policy = v
+ return s
+}
+
+// SetResiliencyScore sets the ResiliencyScore field's value.
+func (s *AppAssessment) SetResiliencyScore(v *ResiliencyScore) *AppAssessment {
+ s.ResiliencyScore = v
+ return s
+}
+
+// SetResourceErrorsDetails sets the ResourceErrorsDetails field's value.
+func (s *AppAssessment) SetResourceErrorsDetails(v *ResourceErrorsDetails) *AppAssessment {
+ s.ResourceErrorsDetails = v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *AppAssessment) SetStartTime(v time.Time) *AppAssessment {
+ s.StartTime = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *AppAssessment) SetTags(v map[string]*string) *AppAssessment {
+ s.Tags = v
+ return s
+}
+
+// Defines an application assessment summary.
+type AppAssessmentSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
+
+ // The version of the application.
+ AppVersion *string `locationName:"appVersion" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+
+ // The name of the assessment.
+ AssessmentName *string `locationName:"assessmentName" type:"string"`
+
+ // The current status of the assessment for the resiliency policy.
+ //
+ // AssessmentStatus is a required field
+ AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
+
+ // The current status of compliance for the resiliency policy.
+ ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
+
+ // The cost for the application.
+ Cost *Cost `locationName:"cost" type:"structure"`
+
+ // The end time for the action.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // The entity that invoked the assessment.
+ Invoker *string `locationName:"invoker" type:"string" enum:"AssessmentInvoker"`
+
+ // The message from the assessment run.
+ Message *string `locationName:"message" min:"1" type:"string"`
+
+ // The current resiliency score for the application.
+ ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
+
+ // The starting time for the action.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppAssessmentSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppAssessmentSummary) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *AppAssessmentSummary) SetAppArn(v string) *AppAssessmentSummary {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *AppAssessmentSummary) SetAppVersion(v string) *AppAssessmentSummary {
+ s.AppVersion = &v
+ return s
+}
+
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *AppAssessmentSummary) SetAssessmentArn(v string) *AppAssessmentSummary {
+ s.AssessmentArn = &v
+ return s
+}
+
+// SetAssessmentName sets the AssessmentName field's value.
+func (s *AppAssessmentSummary) SetAssessmentName(v string) *AppAssessmentSummary {
+ s.AssessmentName = &v
+ return s
+}
+
+// SetAssessmentStatus sets the AssessmentStatus field's value.
+func (s *AppAssessmentSummary) SetAssessmentStatus(v string) *AppAssessmentSummary {
+ s.AssessmentStatus = &v
+ return s
+}
+
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *AppAssessmentSummary) SetComplianceStatus(v string) *AppAssessmentSummary {
+ s.ComplianceStatus = &v
+ return s
+}
+
+// SetCost sets the Cost field's value.
+func (s *AppAssessmentSummary) SetCost(v *Cost) *AppAssessmentSummary {
+ s.Cost = v
+ return s
+}
+
+// SetEndTime sets the EndTime field's value.
+func (s *AppAssessmentSummary) SetEndTime(v time.Time) *AppAssessmentSummary {
+ s.EndTime = &v
+ return s
+}
+
+// SetInvoker sets the Invoker field's value.
+func (s *AppAssessmentSummary) SetInvoker(v string) *AppAssessmentSummary {
+ s.Invoker = &v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AppAssessmentSummary) SetMessage(v string) *AppAssessmentSummary {
+ s.Message = &v
+ return s
+}
+
+// SetResiliencyScore sets the ResiliencyScore field's value.
+func (s *AppAssessmentSummary) SetResiliencyScore(v float64) *AppAssessmentSummary {
+ s.ResiliencyScore = &v
+ return s
+}
+
+// SetStartTime sets the StartTime field's value.
+func (s *AppAssessmentSummary) SetStartTime(v time.Time) *AppAssessmentSummary {
+ s.StartTime = &v
+ return s
+}
+
+// Defines an Application Component.
+type AppComponent struct {
+ _ struct{} `type:"structure"`
+
+ // Additional configuration parameters for an AWS Resilience Hub application.
+ //
+ // Currently, this parameter accepts a key-value mapping (in a string format)
+ // of only one failover region and one associated account.
+ //
+ // Key: "failover-regions"
+ //
+ // Value: "[{"region":"", "accounts":[{"id":""}]}]"
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // Unique identifier of the Application Component.
+ Id *string `locationName:"id" min:"1" type:"string"`
+
+ // The name of the Application Component.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The type of Application Component.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppComponent) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppComponent) GoString() string {
+ return s.String()
+}
+
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *AppComponent) SetAdditionalInfo(v map[string][]*string) *AppComponent {
+ s.AdditionalInfo = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *AppComponent) SetId(v string) *AppComponent {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AppComponent) SetName(v string) *AppComponent {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *AppComponent) SetType(v string) *AppComponent {
+ s.Type = &v
+ return s
+}
+
+// Defines the compliance of an Application Component against the resiliency
+// policy.
+type AppComponentCompliance struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the Application Component.
+ AppComponentName *string `locationName:"appComponentName" type:"string"`
+
+ // The compliance of the Application Component against the resiliency policy.
+ Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
+
+ // The cost for the application.
+ Cost *Cost `locationName:"cost" type:"structure"`
+
+ // The compliance message.
+ Message *string `locationName:"message" min:"1" type:"string"`
+
+ // The current resiliency score for the application.
+ ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`
+
+ // The status of the action.
+ Status *string `locationName:"status" type:"string" enum:"ComplianceStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppComponentCompliance) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppComponentCompliance) GoString() string {
+ return s.String()
+}
+
+// SetAppComponentName sets the AppComponentName field's value.
+func (s *AppComponentCompliance) SetAppComponentName(v string) *AppComponentCompliance {
+ s.AppComponentName = &v
+ return s
+}
+
+// SetCompliance sets the Compliance field's value.
+func (s *AppComponentCompliance) SetCompliance(v map[string]*DisruptionCompliance) *AppComponentCompliance {
+ s.Compliance = v
+ return s
+}
+
+// SetCost sets the Cost field's value.
+func (s *AppComponentCompliance) SetCost(v *Cost) *AppComponentCompliance {
+ s.Cost = v
+ return s
+}
+
+// SetMessage sets the Message field's value.
+func (s *AppComponentCompliance) SetMessage(v string) *AppComponentCompliance {
+ s.Message = &v
+ return s
+}
+
+// SetResiliencyScore sets the ResiliencyScore field's value.
+func (s *AppComponentCompliance) SetResiliencyScore(v *ResiliencyScore) *AppComponentCompliance {
+ s.ResiliencyScore = v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AppComponentCompliance) SetStatus(v string) *AppComponentCompliance {
+ s.Status = &v
+ return s
+}
+
+// The list of AWS Resilience Hub application input sources.
+type AppInputSource struct {
+ _ struct{} `type:"structure"`
+
+ // The resource type of the input source.
+ //
+ // ImportType is a required field
+ ImportType *string `locationName:"importType" type:"string" required:"true" enum:"ResourceMappingType"`
+
+ // The number of resources that were imported.
+ ResourceCount *int64 `locationName:"resourceCount" type:"integer"`
+
+ // The Amazon Resource Name (ARN) of the input source. For more information
+ // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ SourceArn *string `locationName:"sourceArn" type:"string"`
+
+ // The name of the input source.
+ SourceName *string `locationName:"sourceName" min:"1" type:"string"`
+
+ // The name of the Terraform s3 state file.
+ TerraformSource *TerraformSource `locationName:"terraformSource" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppInputSource) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppInputSource) GoString() string {
+ return s.String()
+}
+
+// SetImportType sets the ImportType field's value.
+func (s *AppInputSource) SetImportType(v string) *AppInputSource {
+ s.ImportType = &v
+ return s
+}
+
+// SetResourceCount sets the ResourceCount field's value.
+func (s *AppInputSource) SetResourceCount(v int64) *AppInputSource {
+ s.ResourceCount = &v
+ return s
+}
+
+// SetSourceArn sets the SourceArn field's value.
+func (s *AppInputSource) SetSourceArn(v string) *AppInputSource {
+ s.SourceArn = &v
+ return s
+}
+
+// SetSourceName sets the SourceName field's value.
+func (s *AppInputSource) SetSourceName(v string) *AppInputSource {
+ s.SourceName = &v
+ return s
+}
+
+// SetTerraformSource sets the TerraformSource field's value.
+func (s *AppInputSource) SetTerraformSource(v *TerraformSource) *AppInputSource {
+ s.TerraformSource = v
+ return s
+}
+
+// Defines an application summary.
+type AppSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Assessment execution schedule with 'Daily' or 'Disabled' values.
+ AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
+
+ // The current status of compliance for the resiliency policy.
+ ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`
+
+ // The timestamp for when the app was created.
+ //
+ // CreationTime is a required field
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
+
+ // The optional description for an app.
+ Description *string `locationName:"description" type:"string"`
+
+ // The name of the application.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The current resiliency score for the application.
+ ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
+
+ // The status of the application.
+ Status *string `locationName:"status" type:"string" enum:"AppStatusType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppSummary) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *AppSummary) SetAppArn(v string) *AppSummary {
+ s.AppArn = &v
+ return s
+}
+
+// SetAssessmentSchedule sets the AssessmentSchedule field's value.
+func (s *AppSummary) SetAssessmentSchedule(v string) *AppSummary {
+ s.AssessmentSchedule = &v
+ return s
+}
+
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *AppSummary) SetComplianceStatus(v string) *AppSummary {
+ s.ComplianceStatus = &v
+ return s
+}
+
+// SetCreationTime sets the CreationTime field's value.
+func (s *AppSummary) SetCreationTime(v time.Time) *AppSummary {
+ s.CreationTime = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *AppSummary) SetDescription(v string) *AppSummary {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *AppSummary) SetName(v string) *AppSummary {
+ s.Name = &v
+ return s
+}
+
+// SetResiliencyScore sets the ResiliencyScore field's value.
+func (s *AppSummary) SetResiliencyScore(v float64) *AppSummary {
+ s.ResiliencyScore = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *AppSummary) SetStatus(v string) *AppSummary {
+ s.Status = &v
+ return s
+}
+
+// The version of the application.
+type AppVersionSummary struct {
+ _ struct{} `type:"structure"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppVersionSummary) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AppVersionSummary) GoString() string {
+ return s.String()
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *AppVersionSummary) SetAppVersion(v string) *AppVersionSummary {
+ s.AppVersion = &v
+ return s
+}
+
+// Defines recommendations for an AWS Resilience Hub Application Component,
+// returned as an object. This object contains component names, configuration
+// recommendations, and recommendation statuses.
+type ComponentRecommendation struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the Application Component.
+ //
+ // AppComponentName is a required field
+ AppComponentName *string `locationName:"appComponentName" type:"string" required:"true"`
+
+ // The list of recommendations.
+ //
+ // ConfigRecommendations is a required field
+ ConfigRecommendations []*ConfigRecommendation `locationName:"configRecommendations" type:"list" required:"true"`
+
+ // The recommendation status.
+ //
+ // RecommendationStatus is a required field
+ RecommendationStatus *string `locationName:"recommendationStatus" type:"string" required:"true" enum:"RecommendationComplianceStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentRecommendation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ComponentRecommendation) GoString() string {
+ return s.String()
+}
+
+// SetAppComponentName sets the AppComponentName field's value.
+func (s *ComponentRecommendation) SetAppComponentName(v string) *ComponentRecommendation {
+ s.AppComponentName = &v
+ return s
+}
+
+// SetConfigRecommendations sets the ConfigRecommendations field's value.
+func (s *ComponentRecommendation) SetConfigRecommendations(v []*ConfigRecommendation) *ComponentRecommendation {
+ s.ConfigRecommendations = v
+ return s
+}
+
+// SetRecommendationStatus sets the RecommendationStatus field's value.
+func (s *ComponentRecommendation) SetRecommendationStatus(v string) *ComponentRecommendation {
+ s.RecommendationStatus = &v
+ return s
+}
+
+// Defines a configuration recommendation.
+type ConfigRecommendation struct {
+ _ struct{} `type:"structure"`
+
+ // The name of the Application Component.
+ AppComponentName *string `locationName:"appComponentName" type:"string"`
+
+ // The current compliance against the resiliency policy before applying the
+ // configuration change.
+ Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
+
+ // The cost for the application.
+ Cost *Cost `locationName:"cost" type:"structure"`
+
+ // The optional description for an app.
+ Description *string `locationName:"description" type:"string"`
+
+ // The architecture type.
+ HaArchitecture *string `locationName:"haArchitecture" type:"string" enum:"HaArchitecture"`
+
+ // The name of the recommendation configuration.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The type of optimization.
+ //
+ // OptimizationType is a required field
+ OptimizationType *string `locationName:"optimizationType" type:"string" required:"true" enum:"ConfigRecommendationOptimizationType"`
+
+ // The expected compliance against the resiliency policy after applying the
+ // configuration change.
+ RecommendationCompliance map[string]*RecommendationDisruptionCompliance `locationName:"recommendationCompliance" type:"map"`
+
+ // The reference identifier for the recommendation configuration.
+ //
+ // ReferenceId is a required field
+ ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
+
+ // List of the suggested configuration changes.
+ SuggestedChanges []*string `locationName:"suggestedChanges" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigRecommendation) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConfigRecommendation) GoString() string {
+ return s.String()
+}
+
+// SetAppComponentName sets the AppComponentName field's value.
+func (s *ConfigRecommendation) SetAppComponentName(v string) *ConfigRecommendation {
+ s.AppComponentName = &v
+ return s
+}
+
+// SetCompliance sets the Compliance field's value.
+func (s *ConfigRecommendation) SetCompliance(v map[string]*DisruptionCompliance) *ConfigRecommendation {
+ s.Compliance = v
+ return s
+}
+
+// SetCost sets the Cost field's value.
+func (s *ConfigRecommendation) SetCost(v *Cost) *ConfigRecommendation {
+ s.Cost = v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *ConfigRecommendation) SetDescription(v string) *ConfigRecommendation {
+ s.Description = &v
+ return s
+}
+
+// SetHaArchitecture sets the HaArchitecture field's value.
+func (s *ConfigRecommendation) SetHaArchitecture(v string) *ConfigRecommendation {
+ s.HaArchitecture = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ConfigRecommendation) SetName(v string) *ConfigRecommendation {
+ s.Name = &v
+ return s
+}
+
+// SetOptimizationType sets the OptimizationType field's value.
+func (s *ConfigRecommendation) SetOptimizationType(v string) *ConfigRecommendation {
+ s.OptimizationType = &v
+ return s
+}
+
+// SetRecommendationCompliance sets the RecommendationCompliance field's value.
+func (s *ConfigRecommendation) SetRecommendationCompliance(v map[string]*RecommendationDisruptionCompliance) *ConfigRecommendation {
+ s.RecommendationCompliance = v
+ return s
+}
+
+// SetReferenceId sets the ReferenceId field's value.
+func (s *ConfigRecommendation) SetReferenceId(v string) *ConfigRecommendation {
+ s.ReferenceId = &v
+ return s
+}
+
+// SetSuggestedChanges sets the SuggestedChanges field's value.
+func (s *ConfigRecommendation) SetSuggestedChanges(v []*string) *ConfigRecommendation {
+ s.SuggestedChanges = v
+ return s
+}
+
+// This exception occurs when a conflict with a previous successful write is
+// detected. This generally occurs when the previous write did not have time
+// to propagate to the host serving the current request. A retry (with appropriate
+// backoff logic) is the recommended response to this exception.
+type ConflictException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" min:"1" type:"string"`
+
+ // The identifier of the resource that the exception applies to.
+ ResourceId *string `locationName:"resourceId" type:"string"`
+
+ // The type of the resource that the exception applies to.
+ ResourceType *string `locationName:"resourceType" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ConflictException) GoString() string {
+ return s.String()
+}
+
+func newErrorConflictException(v protocol.ResponseMetadata) error {
+ return &ConflictException{
+ RespMetadata: v,
}
}
// Code returns the exception type name.
-func (s *AccessDeniedException) Code() string {
- return "AccessDeniedException"
+func (s *ConflictException) Code() string {
+ return "ConflictException"
+}
+
+// Message returns the exception's message.
+func (s *ConflictException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ConflictException) OrigErr() error {
+ return nil
+}
+
+func (s *ConflictException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ConflictException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ConflictException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Defines a cost object.
+type Cost struct {
+ _ struct{} `type:"structure"`
+
+ // The cost amount.
+ //
+ // Amount is a required field
+ Amount *float64 `locationName:"amount" type:"double" required:"true"`
+
+ // The cost currency, for example USD.
+ //
+ // Currency is a required field
+ Currency *string `locationName:"currency" type:"string" required:"true"`
+
+ // The cost frequency.
+ //
+ // Frequency is a required field
+ Frequency *string `locationName:"frequency" type:"string" required:"true" enum:"CostFrequency"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Cost) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s Cost) GoString() string {
+ return s.String()
+}
+
+// SetAmount sets the Amount field's value.
+func (s *Cost) SetAmount(v float64) *Cost {
+ s.Amount = &v
+ return s
+}
+
+// SetCurrency sets the Currency field's value.
+func (s *Cost) SetCurrency(v string) *Cost {
+ s.Currency = &v
+ return s
+}
+
+// SetFrequency sets the Frequency field's value.
+func (s *Cost) SetFrequency(v string) *Cost {
+ s.Frequency = &v
+ return s
+}
+
+type CreateAppInput struct {
+ _ struct{} `type:"structure"`
+
+ // Assessment execution schedule with 'Daily' or 'Disabled' values.
+ AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The optional description for an app.
+ Description *string `locationName:"description" type:"string"`
+
+ // The name for the application.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ PolicyArn *string `locationName:"policyArn" type:"string"`
+
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateAppInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateAppInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssessmentSchedule sets the AssessmentSchedule field's value.
+func (s *CreateAppInput) SetAssessmentSchedule(v string) *CreateAppInput {
+ s.AssessmentSchedule = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateAppInput) SetClientToken(v string) *CreateAppInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetDescription sets the Description field's value.
+func (s *CreateAppInput) SetDescription(v string) *CreateAppInput {
+ s.Description = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAppInput) SetName(v string) *CreateAppInput {
+ s.Name = &v
+ return s
+}
+
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *CreateAppInput) SetPolicyArn(v string) *CreateAppInput {
+ s.PolicyArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput {
+ s.Tags = v
+ return s
+}
+
+type CreateAppOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The created application returned as an object with details including compliance
+ // status, creation time, description, resiliency score, and more.
+ //
+ // App is a required field
+ App *App `locationName:"app" type:"structure" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppOutput) GoString() string {
+ return s.String()
+}
+
+// SetApp sets the App field's value.
+func (s *CreateAppOutput) SetApp(v *App) *CreateAppOutput {
+ s.App = v
+ return s
+}
+
+type CreateAppVersionAppComponentInput struct {
+ _ struct{} `type:"structure"`
+
+ // Currently, there is no supported additional information for Application Components.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The identifier of the Application Component.
+ Id *string `locationName:"id" min:"1" type:"string"`
+
+ // The name of the Application Component.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+
+ // The type of Application Component. For more information about the types of
+ // Application Component, see Grouping resources in an AppComponent (https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html).
+ //
+ // Type is a required field
+ Type *string `locationName:"type" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionAppComponentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionAppComponentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateAppVersionAppComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateAppVersionAppComponentInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
+ if s.Type != nil && len(*s.Type) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Type", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *CreateAppVersionAppComponentInput) SetAdditionalInfo(v map[string][]*string) *CreateAppVersionAppComponentInput {
+ s.AdditionalInfo = v
+ return s
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *CreateAppVersionAppComponentInput) SetAppArn(v string) *CreateAppVersionAppComponentInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateAppVersionAppComponentInput) SetClientToken(v string) *CreateAppVersionAppComponentInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateAppVersionAppComponentInput) SetId(v string) *CreateAppVersionAppComponentInput {
+ s.Id = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateAppVersionAppComponentInput) SetName(v string) *CreateAppVersionAppComponentInput {
+ s.Name = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *CreateAppVersionAppComponentInput) SetType(v string) *CreateAppVersionAppComponentInput {
+ s.Type = &v
+ return s
+}
+
+type CreateAppVersionAppComponentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Defines an Application Component.
+ AppComponent *AppComponent `locationName:"appComponent" type:"structure"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionAppComponentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionAppComponentOutput) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *CreateAppVersionAppComponentOutput) SetAppArn(v string) *CreateAppVersionAppComponentOutput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppComponent sets the AppComponent field's value.
+func (s *CreateAppVersionAppComponentOutput) SetAppComponent(v *AppComponent) *CreateAppVersionAppComponentOutput {
+ s.AppComponent = v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *CreateAppVersionAppComponentOutput) SetAppVersion(v string) *CreateAppVersionAppComponentOutput {
+ s.AppVersion = &v
+ return s
+}
+
+type CreateAppVersionResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // Currently, there is no supported additional information for resources.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The list of Application Components that this resource belongs to. If an Application
+ // Component is not part of the AWS Resilience Hub application, it will be added.
+ //
+ // AppComponents is a required field
+ AppComponents []*string `locationName:"appComponents" type:"list" required:"true"`
+
+ // The Amazon Web Services account that owns the physical resource.
+ AwsAccountId *string `locationName:"awsAccountId" type:"string"`
+
+ // The Amazon Web Services region that owns the physical resource.
+ AwsRegion *string `locationName:"awsRegion" type:"string"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The logical identifier of the resource.
+ //
+ // LogicalResourceId is a required field
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`
+
+ // The physical identifier of the resource.
+ //
+ // PhysicalResourceId is a required field
+ PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string" required:"true"`
+
+ // The name of the resource.
+ //
+ // ResourceName is a required field
+ ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
+
+ // The type of resource.
+ //
+ // ResourceType is a required field
+ ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateAppVersionResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateAppVersionResourceInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppComponents == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppComponents"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.LogicalResourceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("LogicalResourceId"))
+ }
+ if s.PhysicalResourceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PhysicalResourceId"))
+ }
+ if s.PhysicalResourceId != nil && len(*s.PhysicalResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PhysicalResourceId", 1))
+ }
+ if s.ResourceName == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceName"))
+ }
+ if s.ResourceType == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceType"))
+ }
+ if s.ResourceType != nil && len(*s.ResourceType) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceType", 1))
+ }
+ if s.LogicalResourceId != nil {
+ if err := s.LogicalResourceId.Validate(); err != nil {
+ invalidParams.AddNested("LogicalResourceId", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *CreateAppVersionResourceInput) SetAdditionalInfo(v map[string][]*string) *CreateAppVersionResourceInput {
+ s.AdditionalInfo = v
+ return s
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *CreateAppVersionResourceInput) SetAppArn(v string) *CreateAppVersionResourceInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppComponents sets the AppComponents field's value.
+func (s *CreateAppVersionResourceInput) SetAppComponents(v []*string) *CreateAppVersionResourceInput {
+ s.AppComponents = v
+ return s
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *CreateAppVersionResourceInput) SetAwsAccountId(v string) *CreateAppVersionResourceInput {
+ s.AwsAccountId = &v
+ return s
+}
+
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *CreateAppVersionResourceInput) SetAwsRegion(v string) *CreateAppVersionResourceInput {
+ s.AwsRegion = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateAppVersionResourceInput) SetClientToken(v string) *CreateAppVersionResourceInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *CreateAppVersionResourceInput) SetLogicalResourceId(v *LogicalResourceId) *CreateAppVersionResourceInput {
+ s.LogicalResourceId = v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *CreateAppVersionResourceInput) SetPhysicalResourceId(v string) *CreateAppVersionResourceInput {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *CreateAppVersionResourceInput) SetResourceName(v string) *CreateAppVersionResourceInput {
+ s.ResourceName = &v
+ return s
}
-// Message returns the exception's message.
-func (s *AccessDeniedException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetResourceType sets the ResourceType field's value.
+func (s *CreateAppVersionResourceInput) SetResourceType(v string) *CreateAppVersionResourceInput {
+ s.ResourceType = &v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *AccessDeniedException) OrigErr() error {
+type CreateAppVersionResourceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Defines a physical resource. A physical resource is a resource that exists
+ // in your account. It can be identified using an Amazon Resource Name (ARN)
+ // or a Resilience Hub-native identifier.
+ PhysicalResource *PhysicalResource `locationName:"physicalResource" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateAppVersionResourceOutput) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *CreateAppVersionResourceOutput) SetAppArn(v string) *CreateAppVersionResourceOutput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *CreateAppVersionResourceOutput) SetAppVersion(v string) *CreateAppVersionResourceOutput {
+ s.AppVersion = &v
+ return s
+}
+
+// SetPhysicalResource sets the PhysicalResource field's value.
+func (s *CreateAppVersionResourceOutput) SetPhysicalResource(v *PhysicalResource) *CreateAppVersionResourceOutput {
+ s.PhysicalResource = v
+ return s
+}
+
+type CreateRecommendationTemplateInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+
+ // The name of the Amazon S3 bucket that will contain the recommendation template.
+ BucketName *string `locationName:"bucketName" type:"string"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The format for the recommendation template.
+ //
+ // CfnJson
+ //
+ // The template is CloudFormation JSON.
+ //
+ // CfnYaml
+ //
+ // The template is CloudFormation YAML.
+ Format *string `locationName:"format" type:"string" enum:"TemplateFormat"`
+
+ // The name for the recommendation template.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // Identifiers for the recommendations used to create a recommendation template.
+ RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`
+
+ // An array of strings that specify the recommendation template type or types.
+ //
+ // Alarm
+ //
+ // The template is an AlarmRecommendation template.
+ //
+ // Sop
+ //
+ // The template is a SopRecommendation template.
+ //
+ // Test
+ //
+ // The template is a TestRecommendation template.
+ RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" enum:"RenderRecommendationType"`
+
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateRecommendationTemplateInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRecommendationTemplateInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRecommendationTemplateInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateRecommendationTemplateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateRecommendationTemplateInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Name == nil {
+ invalidParams.Add(request.NewErrParamRequired("Name"))
+ }
+ if s.RecommendationIds != nil && len(s.RecommendationIds) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RecommendationIds", 1))
+ }
+ if s.RecommendationTypes != nil && len(s.RecommendationTypes) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("RecommendationTypes", 1))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
return nil
}
-func (s *AccessDeniedException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *CreateRecommendationTemplateInput) SetAssessmentArn(v string) *CreateRecommendationTemplateInput {
+ s.AssessmentArn = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *AccessDeniedException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetBucketName sets the BucketName field's value.
+func (s *CreateRecommendationTemplateInput) SetBucketName(v string) *CreateRecommendationTemplateInput {
+ s.BucketName = &v
+ return s
+}
+
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateRecommendationTemplateInput) SetClientToken(v string) *CreateRecommendationTemplateInput {
+ s.ClientToken = &v
+ return s
+}
+
+// SetFormat sets the Format field's value.
+func (s *CreateRecommendationTemplateInput) SetFormat(v string) *CreateRecommendationTemplateInput {
+ s.Format = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *CreateRecommendationTemplateInput) SetName(v string) *CreateRecommendationTemplateInput {
+ s.Name = &v
+ return s
+}
+
+// SetRecommendationIds sets the RecommendationIds field's value.
+func (s *CreateRecommendationTemplateInput) SetRecommendationIds(v []*string) *CreateRecommendationTemplateInput {
+ s.RecommendationIds = v
+ return s
+}
+
+// SetRecommendationTypes sets the RecommendationTypes field's value.
+func (s *CreateRecommendationTemplateInput) SetRecommendationTypes(v []*string) *CreateRecommendationTemplateInput {
+ s.RecommendationTypes = v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateRecommendationTemplateInput) SetTags(v map[string]*string) *CreateRecommendationTemplateInput {
+ s.Tags = v
+ return s
+}
+
+type CreateRecommendationTemplateOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The newly created recommendation template, returned as an object. This object
+ // includes the template's name, format, status, tags, Amazon S3 bucket location,
+ // and more.
+ RecommendationTemplate *RecommendationTemplate `locationName:"recommendationTemplate" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRecommendationTemplateOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateRecommendationTemplateOutput) GoString() string {
+ return s.String()
+}
+
+// SetRecommendationTemplate sets the RecommendationTemplate field's value.
+func (s *CreateRecommendationTemplateOutput) SetRecommendationTemplate(v *RecommendationTemplate) *CreateRecommendationTemplateOutput {
+ s.RecommendationTemplate = v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *AccessDeniedException) RequestID() string {
- return s.RespMetadata.RequestID
-}
+type CreateResiliencyPolicyInput struct {
+ _ struct{} `type:"structure"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // Specifies a high-level geographical location constraint for where your resilience
+ // policy data can be stored.
+ DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`
+
+ // The type of resiliency policy to be created, including the recovery time
+ // objective (RTO) and recovery point objective (RPO) in seconds.
+ //
+ // Policy is a required field
+ Policy map[string]*FailurePolicy `locationName:"policy" type:"map" required:"true"`
+
+ // The description for the policy.
+ PolicyDescription *string `locationName:"policyDescription" type:"string"`
-type AddDraftAppVersionResourceMappingsInput struct {
- _ struct{} `type:"structure"`
+ // The name of the policy
+ //
+ // PolicyName is a required field
+ PolicyName *string `locationName:"policyName" type:"string" required:"true"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateResiliencyPolicyInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
- // Mappings used to map logical resources from the template to physical resources.
- // You can use the mapping type CFN_STACK if the application template uses a
- // logical stack name. Or you can map individual resources by using the mapping
- // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
- // is backed by a CloudFormation stack.
+ // The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
+ // to lowest (NonCritical).
//
- // ResourceMappings is a required field
- ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
+ // Tier is a required field
+ Tier *string `locationName:"tier" type:"string" required:"true" enum:"ResiliencyPolicyTier"`
}
// String returns the string representation.
@@ -4708,7 +8393,7 @@ type AddDraftAppVersionResourceMappingsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AddDraftAppVersionResourceMappingsInput) String() string {
+func (s CreateResiliencyPolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -4717,26 +8402,35 @@ func (s AddDraftAppVersionResourceMappingsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AddDraftAppVersionResourceMappingsInput) GoString() string {
+func (s CreateResiliencyPolicyInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *AddDraftAppVersionResourceMappingsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "AddDraftAppVersionResourceMappingsInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
+func (s *CreateResiliencyPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateResiliencyPolicyInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
- if s.ResourceMappings == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceMappings"))
+ if s.Policy == nil {
+ invalidParams.Add(request.NewErrParamRequired("Policy"))
}
- if s.ResourceMappings != nil {
- for i, v := range s.ResourceMappings {
+ if s.PolicyName == nil {
+ invalidParams.Add(request.NewErrParamRequired("PolicyName"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+ if s.Tier == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tier"))
+ }
+ if s.Policy != nil {
+ for i, v := range s.Policy {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceMappings", i), err.(request.ErrInvalidParams))
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Policy", i), err.(request.ErrInvalidParams))
}
}
}
@@ -4747,42 +8441,97 @@ func (s *AddDraftAppVersionResourceMappingsInput) Validate() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *AddDraftAppVersionResourceMappingsInput) SetAppArn(v string) *AddDraftAppVersionResourceMappingsInput {
- s.AppArn = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *CreateResiliencyPolicyInput) SetClientToken(v string) *CreateResiliencyPolicyInput {
+ s.ClientToken = &v
return s
}
-// SetResourceMappings sets the ResourceMappings field's value.
-func (s *AddDraftAppVersionResourceMappingsInput) SetResourceMappings(v []*ResourceMapping) *AddDraftAppVersionResourceMappingsInput {
- s.ResourceMappings = v
+// SetDataLocationConstraint sets the DataLocationConstraint field's value.
+func (s *CreateResiliencyPolicyInput) SetDataLocationConstraint(v string) *CreateResiliencyPolicyInput {
+ s.DataLocationConstraint = &v
return s
}
-type AddDraftAppVersionResourceMappingsOutput struct {
+// SetPolicy sets the Policy field's value.
+func (s *CreateResiliencyPolicyInput) SetPolicy(v map[string]*FailurePolicy) *CreateResiliencyPolicyInput {
+ s.Policy = v
+ return s
+}
+
+// SetPolicyDescription sets the PolicyDescription field's value.
+func (s *CreateResiliencyPolicyInput) SetPolicyDescription(v string) *CreateResiliencyPolicyInput {
+ s.PolicyDescription = &v
+ return s
+}
+
+// SetPolicyName sets the PolicyName field's value.
+func (s *CreateResiliencyPolicyInput) SetPolicyName(v string) *CreateResiliencyPolicyInput {
+ s.PolicyName = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateResiliencyPolicyInput) SetTags(v map[string]*string) *CreateResiliencyPolicyInput {
+ s.Tags = v
+ return s
+}
+
+// SetTier sets the Tier field's value.
+func (s *CreateResiliencyPolicyInput) SetTier(v string) *CreateResiliencyPolicyInput {
+ s.Tier = &v
+ return s
+}
+
+type CreateResiliencyPolicyOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The type of resiliency policy that was created, including the recovery time
+ // objective (RTO) and recovery point objective (RPO) in seconds.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // Policy is a required field
+ Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
+}
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateResiliencyPolicyOutput) String() string {
+ return awsutil.Prettify(s)
+}
- // Mappings used to map logical resources from the template to physical resources.
- // You can use the mapping type CFN_STACK if the application template uses a
- // logical stack name. Or you can map individual resources by using the mapping
- // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
- // is backed by a CloudFormation stack.
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateResiliencyPolicyOutput) GoString() string {
+ return s.String()
+}
+
+// SetPolicy sets the Policy field's value.
+func (s *CreateResiliencyPolicyOutput) SetPolicy(v *ResiliencyPolicy) *CreateResiliencyPolicyOutput {
+ s.Policy = v
+ return s
+}
+
+type DeleteAppAssessmentInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // ResourceMappings is a required field
- ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
}
// String returns the string representation.
@@ -4790,7 +8539,7 @@ type AddDraftAppVersionResourceMappingsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AddDraftAppVersionResourceMappingsOutput) String() string {
+func (s DeleteAppAssessmentInput) String() string {
return awsutil.Prettify(s)
}
@@ -4799,63 +8548,103 @@ func (s AddDraftAppVersionResourceMappingsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AddDraftAppVersionResourceMappingsOutput) GoString() string {
+func (s DeleteAppAssessmentInput) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *AddDraftAppVersionResourceMappingsOutput) SetAppArn(v string) *AddDraftAppVersionResourceMappingsOutput {
- s.AppArn = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAppAssessmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAppAssessmentInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *AddDraftAppVersionResourceMappingsOutput) SetAppVersion(v string) *AddDraftAppVersionResourceMappingsOutput {
- s.AppVersion = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *DeleteAppAssessmentInput) SetAssessmentArn(v string) *DeleteAppAssessmentInput {
+ s.AssessmentArn = &v
return s
}
-// SetResourceMappings sets the ResourceMappings field's value.
-func (s *AddDraftAppVersionResourceMappingsOutput) SetResourceMappings(v []*ResourceMapping) *AddDraftAppVersionResourceMappingsOutput {
- s.ResourceMappings = v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteAppAssessmentInput) SetClientToken(v string) *DeleteAppAssessmentInput {
+ s.ClientToken = &v
return s
}
-// Defines a recommendation for a CloudWatch alarm.
-type AlarmRecommendation struct {
+type DeleteAppAssessmentOutput struct {
_ struct{} `type:"structure"`
- // The application component for the CloudWatch alarm recommendation.
- AppComponentName *string `locationName:"appComponentName" type:"string"`
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
- // The description of the recommendation.
- Description *string `locationName:"description" type:"string"`
+ // The current status of the assessment for the resiliency policy.
+ //
+ // AssessmentStatus is a required field
+ AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
+}
- // The list of CloudWatch alarm recommendations.
- Items []*RecommendationItem `locationName:"items" type:"list"`
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppAssessmentOutput) String() string {
+ return awsutil.Prettify(s)
+}
- // The name of the alarm recommendation.
- //
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppAssessmentOutput) GoString() string {
+ return s.String()
+}
- // The prerequisite for the alarm recommendation.
- Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *DeleteAppAssessmentOutput) SetAssessmentArn(v string) *DeleteAppAssessmentOutput {
+ s.AssessmentArn = &v
+ return s
+}
- // The identifier of the alarm recommendation.
- //
- // RecommendationId is a required field
- RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`
+// SetAssessmentStatus sets the AssessmentStatus field's value.
+func (s *DeleteAppAssessmentOutput) SetAssessmentStatus(v string) *DeleteAppAssessmentOutput {
+ s.AssessmentStatus = &v
+ return s
+}
+
+type DeleteAppInput struct {
+ _ struct{} `type:"structure"`
- // The reference identifier of the alarm recommendation.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // ReferenceId is a required field
- ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The type of alarm recommendation.
- //
- // Type is a required field
- Type *string `locationName:"type" type:"string" required:"true" enum:"AlarmType"`
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // A boolean option to force the deletion of an AWS Resilience Hub application.
+ ForceDelete *bool `locationName:"forceDelete" type:"boolean"`
}
// String returns the string representation.
@@ -4863,7 +8652,7 @@ type AlarmRecommendation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AlarmRecommendation) String() string {
+func (s DeleteAppInput) String() string {
return awsutil.Prettify(s)
}
@@ -4872,114 +8661,69 @@ func (s AlarmRecommendation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AlarmRecommendation) GoString() string {
+func (s DeleteAppInput) GoString() string {
return s.String()
}
-// SetAppComponentName sets the AppComponentName field's value.
-func (s *AlarmRecommendation) SetAppComponentName(v string) *AlarmRecommendation {
- s.AppComponentName = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *AlarmRecommendation) SetDescription(v string) *AlarmRecommendation {
- s.Description = &v
- return s
-}
-
-// SetItems sets the Items field's value.
-func (s *AlarmRecommendation) SetItems(v []*RecommendationItem) *AlarmRecommendation {
- s.Items = v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *AlarmRecommendation) SetName(v string) *AlarmRecommendation {
- s.Name = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAppInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
-// SetPrerequisite sets the Prerequisite field's value.
-func (s *AlarmRecommendation) SetPrerequisite(v string) *AlarmRecommendation {
- s.Prerequisite = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetRecommendationId sets the RecommendationId field's value.
-func (s *AlarmRecommendation) SetRecommendationId(v string) *AlarmRecommendation {
- s.RecommendationId = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppInput) SetAppArn(v string) *DeleteAppInput {
+ s.AppArn = &v
return s
}
-// SetReferenceId sets the ReferenceId field's value.
-func (s *AlarmRecommendation) SetReferenceId(v string) *AlarmRecommendation {
- s.ReferenceId = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteAppInput) SetClientToken(v string) *DeleteAppInput {
+ s.ClientToken = &v
return s
}
-// SetType sets the Type field's value.
-func (s *AlarmRecommendation) SetType(v string) *AlarmRecommendation {
- s.Type = &v
+// SetForceDelete sets the ForceDelete field's value.
+func (s *DeleteAppInput) SetForceDelete(v bool) *DeleteAppInput {
+ s.ForceDelete = &v
return s
}
-// Defines a Resilience Hub application.
-type App struct {
+type DeleteAppInputSourceInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // Assessment execution schedule with 'Daily' or 'Disabled' values.
- AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
-
- // The current status of compliance for the resiliency policy.
- ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`
-
- // The timestamp for when the app was created.
- //
- // CreationTime is a required field
- CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
-
- // The optional description for an app.
- Description *string `locationName:"description" type:"string"`
-
- // The timestamp for the most recent compliance evaluation.
- LastAppComplianceEvaluationTime *time.Time `locationName:"lastAppComplianceEvaluationTime" type:"timestamp"`
-
- // The timestamp for the most recent resiliency score evaluation.
- LastResiliencyScoreEvaluationTime *time.Time `locationName:"lastResiliencyScoreEvaluationTime" type:"timestamp"`
-
- // The name for the application.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- PolicyArn *string `locationName:"policyArn" type:"string"`
-
- // The current resiliency score for the application.
- ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The status of the application.
- Status *string `locationName:"status" type:"string" enum:"AppStatusType"`
+ // The Amazon Resource Name (ARN) of the imported resource you want to remove
+ // from the AWS Resilience Hub application. For more information about ARNs,
+ // see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ SourceArn *string `locationName:"sourceArn" type:"string"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by App's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // The imported Terraform s3 state file you want to remove from the AWS Resilience
+ // Hub application.
+ TerraformSource *TerraformSource `locationName:"terraformSource" type:"structure"`
}
// String returns the string representation.
@@ -4987,7 +8731,7 @@ type App struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s App) String() string {
+func (s DeleteAppInputSourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -4996,151 +8740,67 @@ func (s App) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s App) GoString() string {
+func (s DeleteAppInputSourceInput) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *App) SetAppArn(v string) *App {
- s.AppArn = &v
- return s
-}
-
-// SetAssessmentSchedule sets the AssessmentSchedule field's value.
-func (s *App) SetAssessmentSchedule(v string) *App {
- s.AssessmentSchedule = &v
- return s
-}
-
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *App) SetComplianceStatus(v string) *App {
- s.ComplianceStatus = &v
- return s
-}
-
-// SetCreationTime sets the CreationTime field's value.
-func (s *App) SetCreationTime(v time.Time) *App {
- s.CreationTime = &v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *App) SetDescription(v string) *App {
- s.Description = &v
- return s
-}
-
-// SetLastAppComplianceEvaluationTime sets the LastAppComplianceEvaluationTime field's value.
-func (s *App) SetLastAppComplianceEvaluationTime(v time.Time) *App {
- s.LastAppComplianceEvaluationTime = &v
- return s
-}
-
-// SetLastResiliencyScoreEvaluationTime sets the LastResiliencyScoreEvaluationTime field's value.
-func (s *App) SetLastResiliencyScoreEvaluationTime(v time.Time) *App {
- s.LastResiliencyScoreEvaluationTime = &v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *App) SetName(v string) *App {
- s.Name = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAppInputSourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAppInputSourceInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.TerraformSource != nil {
+ if err := s.TerraformSource.Validate(); err != nil {
+ invalidParams.AddNested("TerraformSource", err.(request.ErrInvalidParams))
+ }
+ }
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *App) SetPolicyArn(v string) *App {
- s.PolicyArn = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResiliencyScore sets the ResiliencyScore field's value.
-func (s *App) SetResiliencyScore(v float64) *App {
- s.ResiliencyScore = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppInputSourceInput) SetAppArn(v string) *DeleteAppInputSourceInput {
+ s.AppArn = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *App) SetStatus(v string) *App {
- s.Status = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteAppInputSourceInput) SetClientToken(v string) *DeleteAppInputSourceInput {
+ s.ClientToken = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *App) SetTags(v map[string]*string) *App {
- s.Tags = v
+// SetSourceArn sets the SourceArn field's value.
+func (s *DeleteAppInputSourceInput) SetSourceArn(v string) *DeleteAppInputSourceInput {
+ s.SourceArn = &v
return s
}
-// Defines an application assessment.
-type AppAssessment struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `locationName:"appArn" type:"string"`
-
- // The version of the application.
- AppVersion *string `locationName:"appVersion" type:"string"`
-
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
-
- // The name of the assessment.
- AssessmentName *string `locationName:"assessmentName" type:"string"`
-
- // The current status of the assessment for the resiliency policy.
- //
- // AssessmentStatus is a required field
- AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
-
- // The application compliance against the resiliency policy.
- Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
-
- // The current status of the compliance for the resiliency policy.
- ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
-
- // The cost for the application.
- Cost *Cost `locationName:"cost" type:"structure"`
-
- // The end time for the action.
- EndTime *time.Time `locationName:"endTime" type:"timestamp"`
-
- // The entity that invoked the assessment.
- //
- // Invoker is a required field
- Invoker *string `locationName:"invoker" type:"string" required:"true" enum:"AssessmentInvoker"`
-
- // Error or warning message from the assessment execution
- Message *string `locationName:"message" min:"1" type:"string"`
-
- // The resiliency policy.
- Policy *ResiliencyPolicy `locationName:"policy" type:"structure"`
-
- // The current resiliency score for the application.
- ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`
+// SetTerraformSource sets the TerraformSource field's value.
+func (s *DeleteAppInputSourceInput) SetTerraformSource(v *TerraformSource) *DeleteAppInputSourceInput {
+ s.TerraformSource = v
+ return s
+}
- // A resource error object containing a list of errors retrieving an application's
- // resources.
- ResourceErrorsDetails *ResourceErrorsDetails `locationName:"resourceErrorsDetails" type:"structure"`
+type DeleteAppInputSourceOutput struct {
+ _ struct{} `type:"structure"`
- // The starting time for the action.
- StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by AppAssessment's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // The name of the input source from where the application resource is imported
+ // from.
+ AppInputSource *AppInputSource `locationName:"appInputSource" type:"structure"`
}
// String returns the string representation.
@@ -5148,7 +8808,7 @@ type AppAssessment struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppAssessment) String() string {
+func (s DeleteAppInputSourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5157,155 +8817,156 @@ func (s AppAssessment) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppAssessment) GoString() string {
+func (s DeleteAppInputSourceOutput) GoString() string {
return s.String()
}
// SetAppArn sets the AppArn field's value.
-func (s *AppAssessment) SetAppArn(v string) *AppAssessment {
+func (s *DeleteAppInputSourceOutput) SetAppArn(v string) *DeleteAppInputSourceOutput {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *AppAssessment) SetAppVersion(v string) *AppAssessment {
- s.AppVersion = &v
+// SetAppInputSource sets the AppInputSource field's value.
+func (s *DeleteAppInputSourceOutput) SetAppInputSource(v *AppInputSource) *DeleteAppInputSourceOutput {
+ s.AppInputSource = v
return s
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *AppAssessment) SetAssessmentArn(v string) *AppAssessment {
- s.AssessmentArn = &v
- return s
-}
+type DeleteAppOutput struct {
+ _ struct{} `type:"structure"`
-// SetAssessmentName sets the AssessmentName field's value.
-func (s *AppAssessment) SetAssessmentName(v string) *AppAssessment {
- s.AssessmentName = &v
- return s
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
}
-// SetAssessmentStatus sets the AssessmentStatus field's value.
-func (s *AppAssessment) SetAssessmentStatus(v string) *AppAssessment {
- s.AssessmentStatus = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppOutput) String() string {
+ return awsutil.Prettify(s)
}
-// SetCompliance sets the Compliance field's value.
-func (s *AppAssessment) SetCompliance(v map[string]*DisruptionCompliance) *AppAssessment {
- s.Compliance = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppOutput) GoString() string {
+ return s.String()
}
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *AppAssessment) SetComplianceStatus(v string) *AppAssessment {
- s.ComplianceStatus = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppOutput) SetAppArn(v string) *DeleteAppOutput {
+ s.AppArn = &v
return s
}
-// SetCost sets the Cost field's value.
-func (s *AppAssessment) SetCost(v *Cost) *AppAssessment {
- s.Cost = v
- return s
-}
+type DeleteAppVersionAppComponentInput struct {
+ _ struct{} `type:"structure"`
-// SetEndTime sets the EndTime field's value.
-func (s *AppAssessment) SetEndTime(v time.Time) *AppAssessment {
- s.EndTime = &v
- return s
-}
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
-// SetInvoker sets the Invoker field's value.
-func (s *AppAssessment) SetInvoker(v string) *AppAssessment {
- s.Invoker = &v
- return s
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The identifier of the Application Component.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" min:"1" type:"string" required:"true"`
}
-// SetMessage sets the Message field's value.
-func (s *AppAssessment) SetMessage(v string) *AppAssessment {
- s.Message = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppVersionAppComponentInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetPolicy sets the Policy field's value.
-func (s *AppAssessment) SetPolicy(v *ResiliencyPolicy) *AppAssessment {
- s.Policy = v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppVersionAppComponentInput) GoString() string {
+ return s.String()
}
-// SetResiliencyScore sets the ResiliencyScore field's value.
-func (s *AppAssessment) SetResiliencyScore(v *ResiliencyScore) *AppAssessment {
- s.ResiliencyScore = v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAppVersionAppComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAppVersionAppComponentInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResourceErrorsDetails sets the ResourceErrorsDetails field's value.
-func (s *AppAssessment) SetResourceErrorsDetails(v *ResourceErrorsDetails) *AppAssessment {
- s.ResourceErrorsDetails = v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppVersionAppComponentInput) SetAppArn(v string) *DeleteAppVersionAppComponentInput {
+ s.AppArn = &v
return s
}
-// SetStartTime sets the StartTime field's value.
-func (s *AppAssessment) SetStartTime(v time.Time) *AppAssessment {
- s.StartTime = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteAppVersionAppComponentInput) SetClientToken(v string) *DeleteAppVersionAppComponentInput {
+ s.ClientToken = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *AppAssessment) SetTags(v map[string]*string) *AppAssessment {
- s.Tags = v
+// SetId sets the Id field's value.
+func (s *DeleteAppVersionAppComponentInput) SetId(v string) *DeleteAppVersionAppComponentInput {
+ s.Id = &v
return s
}
-// Defines an application assessment summary.
-type AppAssessmentSummary struct {
+type DeleteAppVersionAppComponentOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `locationName:"appArn" type:"string"`
-
- // The version of the application.
- AppVersion *string `locationName:"appVersion" type:"string"`
-
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The name of the assessment.
- AssessmentName *string `locationName:"assessmentName" type:"string"`
+ // Defines an Application Component.
+ AppComponent *AppComponent `locationName:"appComponent" type:"structure"`
- // The current status of the assessment for the resiliency policy.
+ // The AWS Resilience Hub application version.
//
- // AssessmentStatus is a required field
- AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
-
- // The current status of compliance for the resiliency policy.
- ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
-
- // The cost for the application.
- Cost *Cost `locationName:"cost" type:"structure"`
-
- // The end time for the action.
- EndTime *time.Time `locationName:"endTime" type:"timestamp"`
-
- // The entity that invoked the assessment.
- Invoker *string `locationName:"invoker" type:"string" enum:"AssessmentInvoker"`
-
- // The message from the assessment run.
- Message *string `locationName:"message" min:"1" type:"string"`
-
- // The current resiliency score for the application.
- ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
-
- // The starting time for the action.
- StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5313,7 +8974,7 @@ type AppAssessmentSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppAssessmentSummary) String() string {
+func (s DeleteAppVersionAppComponentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5322,95 +8983,164 @@ func (s AppAssessmentSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppAssessmentSummary) GoString() string {
+func (s DeleteAppVersionAppComponentOutput) GoString() string {
return s.String()
}
// SetAppArn sets the AppArn field's value.
-func (s *AppAssessmentSummary) SetAppArn(v string) *AppAssessmentSummary {
+func (s *DeleteAppVersionAppComponentOutput) SetAppArn(v string) *DeleteAppVersionAppComponentOutput {
s.AppArn = &v
return s
}
+// SetAppComponent sets the AppComponent field's value.
+func (s *DeleteAppVersionAppComponentOutput) SetAppComponent(v *AppComponent) *DeleteAppVersionAppComponentOutput {
+ s.AppComponent = v
+ return s
+}
+
// SetAppVersion sets the AppVersion field's value.
-func (s *AppAssessmentSummary) SetAppVersion(v string) *AppAssessmentSummary {
+func (s *DeleteAppVersionAppComponentOutput) SetAppVersion(v string) *DeleteAppVersionAppComponentOutput {
s.AppVersion = &v
return s
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *AppAssessmentSummary) SetAssessmentArn(v string) *AppAssessmentSummary {
- s.AssessmentArn = &v
- return s
+type DeleteAppVersionResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The Amazon Web Services account that owns the physical resource.
+ AwsAccountId *string `locationName:"awsAccountId" type:"string"`
+
+ // The Amazon Web Services region that owns the physical resource.
+ AwsRegion *string `locationName:"awsRegion" type:"string"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The logical identifier of the resource.
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure"`
+
+ // The physical identifier of the resource.
+ PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`
+
+ // The name of the resource.
+ ResourceName *string `locationName:"resourceName" type:"string"`
}
-// SetAssessmentName sets the AssessmentName field's value.
-func (s *AppAssessmentSummary) SetAssessmentName(v string) *AppAssessmentSummary {
- s.AssessmentName = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppVersionResourceInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetAssessmentStatus sets the AssessmentStatus field's value.
-func (s *AppAssessmentSummary) SetAssessmentStatus(v string) *AppAssessmentSummary {
- s.AssessmentStatus = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteAppVersionResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteAppVersionResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteAppVersionResourceInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.PhysicalResourceId != nil && len(*s.PhysicalResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PhysicalResourceId", 1))
+ }
+ if s.LogicalResourceId != nil {
+ if err := s.LogicalResourceId.Validate(); err != nil {
+ invalidParams.AddNested("LogicalResourceId", err.(request.ErrInvalidParams))
+ }
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *AppAssessmentSummary) SetComplianceStatus(v string) *AppAssessmentSummary {
- s.ComplianceStatus = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppVersionResourceInput) SetAppArn(v string) *DeleteAppVersionResourceInput {
+ s.AppArn = &v
return s
}
-// SetCost sets the Cost field's value.
-func (s *AppAssessmentSummary) SetCost(v *Cost) *AppAssessmentSummary {
- s.Cost = v
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *DeleteAppVersionResourceInput) SetAwsAccountId(v string) *DeleteAppVersionResourceInput {
+ s.AwsAccountId = &v
return s
}
-// SetEndTime sets the EndTime field's value.
-func (s *AppAssessmentSummary) SetEndTime(v time.Time) *AppAssessmentSummary {
- s.EndTime = &v
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *DeleteAppVersionResourceInput) SetAwsRegion(v string) *DeleteAppVersionResourceInput {
+ s.AwsRegion = &v
return s
}
-// SetInvoker sets the Invoker field's value.
-func (s *AppAssessmentSummary) SetInvoker(v string) *AppAssessmentSummary {
- s.Invoker = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteAppVersionResourceInput) SetClientToken(v string) *DeleteAppVersionResourceInput {
+ s.ClientToken = &v
return s
}
-// SetMessage sets the Message field's value.
-func (s *AppAssessmentSummary) SetMessage(v string) *AppAssessmentSummary {
- s.Message = &v
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *DeleteAppVersionResourceInput) SetLogicalResourceId(v *LogicalResourceId) *DeleteAppVersionResourceInput {
+ s.LogicalResourceId = v
return s
}
-// SetResiliencyScore sets the ResiliencyScore field's value.
-func (s *AppAssessmentSummary) SetResiliencyScore(v float64) *AppAssessmentSummary {
- s.ResiliencyScore = &v
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *DeleteAppVersionResourceInput) SetPhysicalResourceId(v string) *DeleteAppVersionResourceInput {
+ s.PhysicalResourceId = &v
return s
}
-// SetStartTime sets the StartTime field's value.
-func (s *AppAssessmentSummary) SetStartTime(v time.Time) *AppAssessmentSummary {
- s.StartTime = &v
+// SetResourceName sets the ResourceName field's value.
+func (s *DeleteAppVersionResourceInput) SetResourceName(v string) *DeleteAppVersionResourceInput {
+ s.ResourceName = &v
return s
}
-// Defines an application component.
-type AppComponent struct {
+type DeleteAppVersionResourceOutput struct {
_ struct{} `type:"structure"`
- // The name of the application component.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // Name is a required field
- Name *string `locationName:"name" min:"1" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The type of application component.
+ // The AWS Resilience Hub application version.
//
- // Type is a required field
- Type *string `locationName:"type" min:"1" type:"string" required:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Defines a physical resource. A physical resource is a resource that exists
+ // in your account. It can be identified using an Amazon Resource Name (ARN)
+ // or a Resilience Hub-native identifier.
+ PhysicalResource *PhysicalResource `locationName:"physicalResource" type:"structure"`
}
// String returns the string representation.
@@ -5418,7 +9148,7 @@ type AppComponent struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppComponent) String() string {
+func (s DeleteAppVersionResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5427,44 +9157,40 @@ func (s AppComponent) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppComponent) GoString() string {
+func (s DeleteAppVersionResourceOutput) GoString() string {
return s.String()
}
-// SetName sets the Name field's value.
-func (s *AppComponent) SetName(v string) *AppComponent {
- s.Name = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DeleteAppVersionResourceOutput) SetAppArn(v string) *DeleteAppVersionResourceOutput {
+ s.AppArn = &v
return s
}
-// SetType sets the Type field's value.
-func (s *AppComponent) SetType(v string) *AppComponent {
- s.Type = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DeleteAppVersionResourceOutput) SetAppVersion(v string) *DeleteAppVersionResourceOutput {
+ s.AppVersion = &v
return s
}
-// Defines the compliance of an application component against the resiliency
-// policy.
-type AppComponentCompliance struct {
- _ struct{} `type:"structure"`
-
- // The name of the application component.
- AppComponentName *string `locationName:"appComponentName" type:"string"`
-
- // The compliance of the application component against the resiliency policy.
- Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
-
- // The cost for the application.
- Cost *Cost `locationName:"cost" type:"structure"`
+// SetPhysicalResource sets the PhysicalResource field's value.
+func (s *DeleteAppVersionResourceOutput) SetPhysicalResource(v *PhysicalResource) *DeleteAppVersionResourceOutput {
+ s.PhysicalResource = v
+ return s
+}
- // The compliance message.
- Message *string `locationName:"message" min:"1" type:"string"`
+type DeleteRecommendationTemplateInput struct {
+ _ struct{} `type:"structure"`
- // The current resiliency score for the application.
- ResiliencyScore *ResiliencyScore `locationName:"resiliencyScore" type:"structure"`
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The status of the action.
- Status *string `locationName:"status" type:"string" enum:"ComplianceStatus"`
+ // The Amazon Resource Name (ARN) for a recommendation template.
+ //
+ // RecommendationTemplateArn is a required field
+ RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5472,7 +9198,7 @@ type AppComponentCompliance struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppComponentCompliance) String() string {
+func (s DeleteRecommendationTemplateInput) String() string {
return awsutil.Prettify(s)
}
@@ -5481,82 +9207,50 @@ func (s AppComponentCompliance) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppComponentCompliance) GoString() string {
+func (s DeleteRecommendationTemplateInput) GoString() string {
return s.String()
}
-// SetAppComponentName sets the AppComponentName field's value.
-func (s *AppComponentCompliance) SetAppComponentName(v string) *AppComponentCompliance {
- s.AppComponentName = &v
- return s
-}
-
-// SetCompliance sets the Compliance field's value.
-func (s *AppComponentCompliance) SetCompliance(v map[string]*DisruptionCompliance) *AppComponentCompliance {
- s.Compliance = v
- return s
-}
-
-// SetCost sets the Cost field's value.
-func (s *AppComponentCompliance) SetCost(v *Cost) *AppComponentCompliance {
- s.Cost = v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteRecommendationTemplateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteRecommendationTemplateInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.RecommendationTemplateArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("RecommendationTemplateArn"))
+ }
-// SetMessage sets the Message field's value.
-func (s *AppComponentCompliance) SetMessage(v string) *AppComponentCompliance {
- s.Message = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResiliencyScore sets the ResiliencyScore field's value.
-func (s *AppComponentCompliance) SetResiliencyScore(v *ResiliencyScore) *AppComponentCompliance {
- s.ResiliencyScore = v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteRecommendationTemplateInput) SetClientToken(v string) *DeleteRecommendationTemplateInput {
+ s.ClientToken = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *AppComponentCompliance) SetStatus(v string) *AppComponentCompliance {
- s.Status = &v
+// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
+func (s *DeleteRecommendationTemplateInput) SetRecommendationTemplateArn(v string) *DeleteRecommendationTemplateInput {
+ s.RecommendationTemplateArn = &v
return s
}
-// Defines an application summary.
-type AppSummary struct {
+type DeleteRecommendationTemplateOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
-
- // Assessment execution schedule with 'Daily' or 'Disabled' values.
- AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
-
- // The current status of compliance for the resiliency policy.
- ComplianceStatus *string `locationName:"complianceStatus" type:"string" enum:"AppComplianceStatusType"`
-
- // The timestamp for when the app was created.
+ // The Amazon Resource Name (ARN) for a recommendation template.
//
- // CreationTime is a required field
- CreationTime *time.Time `locationName:"creationTime" type:"timestamp" required:"true"`
-
- // The optional description for an app.
- Description *string `locationName:"description" type:"string"`
+ // RecommendationTemplateArn is a required field
+ RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
- // The name of the application.
+ // The status of the action.
//
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // The current resiliency score for the application.
- ResiliencyScore *float64 `locationName:"resiliencyScore" type:"double"`
-
- // The status of the application.
- Status *string `locationName:"status" type:"string" enum:"AppStatusType"`
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`
}
// String returns the string representation.
@@ -5564,7 +9258,7 @@ type AppSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppSummary) String() string {
+func (s DeleteRecommendationTemplateOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5573,66 +9267,95 @@ func (s AppSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppSummary) GoString() string {
+func (s DeleteRecommendationTemplateOutput) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *AppSummary) SetAppArn(v string) *AppSummary {
- s.AppArn = &v
+// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
+func (s *DeleteRecommendationTemplateOutput) SetRecommendationTemplateArn(v string) *DeleteRecommendationTemplateOutput {
+ s.RecommendationTemplateArn = &v
return s
}
-// SetAssessmentSchedule sets the AssessmentSchedule field's value.
-func (s *AppSummary) SetAssessmentSchedule(v string) *AppSummary {
- s.AssessmentSchedule = &v
+// SetStatus sets the Status field's value.
+func (s *DeleteRecommendationTemplateOutput) SetStatus(v string) *DeleteRecommendationTemplateOutput {
+ s.Status = &v
return s
}
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *AppSummary) SetComplianceStatus(v string) *AppSummary {
- s.ComplianceStatus = &v
- return s
+type DeleteResiliencyPolicyInput struct {
+ _ struct{} `type:"structure"`
+
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // PolicyArn is a required field
+ PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
}
-// SetCreationTime sets the CreationTime field's value.
-func (s *AppSummary) SetCreationTime(v time.Time) *AppSummary {
- s.CreationTime = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteResiliencyPolicyInput) String() string {
+ return awsutil.Prettify(s)
}
-// SetDescription sets the Description field's value.
-func (s *AppSummary) SetDescription(v string) *AppSummary {
- s.Description = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteResiliencyPolicyInput) GoString() string {
+ return s.String()
}
-// SetName sets the Name field's value.
-func (s *AppSummary) SetName(v string) *AppSummary {
- s.Name = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteResiliencyPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteResiliencyPolicyInput"}
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ }
+ if s.PolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PolicyArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResiliencyScore sets the ResiliencyScore field's value.
-func (s *AppSummary) SetResiliencyScore(v float64) *AppSummary {
- s.ResiliencyScore = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *DeleteResiliencyPolicyInput) SetClientToken(v string) *DeleteResiliencyPolicyInput {
+ s.ClientToken = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *AppSummary) SetStatus(v string) *AppSummary {
- s.Status = &v
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DeleteResiliencyPolicyInput) SetPolicyArn(v string) *DeleteResiliencyPolicyInput {
+ s.PolicyArn = &v
return s
}
-// The version of the application.
-type AppVersionSummary struct {
+type DeleteResiliencyPolicyOutput struct {
_ struct{} `type:"structure"`
- // The version of the application.
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // PolicyArn is a required field
+ PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5640,7 +9363,7 @@ type AppVersionSummary struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppVersionSummary) String() string {
+func (s DeleteResiliencyPolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5649,36 +9372,26 @@ func (s AppVersionSummary) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s AppVersionSummary) GoString() string {
+func (s DeleteResiliencyPolicyOutput) GoString() string {
return s.String()
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *AppVersionSummary) SetAppVersion(v string) *AppVersionSummary {
- s.AppVersion = &v
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *DeleteResiliencyPolicyOutput) SetPolicyArn(v string) *DeleteResiliencyPolicyOutput {
+ s.PolicyArn = &v
return s
}
-// Defines recommendations for a Resilience Hub application component, returned
-// as an object. This object contains component names, configuration recommendations,
-// and recommendation statuses.
-type ComponentRecommendation struct {
+type DescribeAppAssessmentInput struct {
_ struct{} `type:"structure"`
- // The name of the application component.
- //
- // AppComponentName is a required field
- AppComponentName *string `locationName:"appComponentName" type:"string" required:"true"`
-
- // The list of recommendations.
- //
- // ConfigRecommendations is a required field
- ConfigRecommendations []*ConfigRecommendation `locationName:"configRecommendations" type:"list" required:"true"`
-
- // The recommendation status.
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // RecommendationStatus is a required field
- RecommendationStatus *string `locationName:"recommendationStatus" type:"string" required:"true" enum:"RecommendationComplianceStatus"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5686,7 +9399,7 @@ type ComponentRecommendation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentRecommendation) String() string {
+func (s DescribeAppAssessmentInput) String() string {
return awsutil.Prettify(s)
}
@@ -5695,69 +9408,38 @@ func (s ComponentRecommendation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ComponentRecommendation) GoString() string {
+func (s DescribeAppAssessmentInput) GoString() string {
return s.String()
}
-// SetAppComponentName sets the AppComponentName field's value.
-func (s *ComponentRecommendation) SetAppComponentName(v string) *ComponentRecommendation {
- s.AppComponentName = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAppAssessmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppAssessmentInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
-// SetConfigRecommendations sets the ConfigRecommendations field's value.
-func (s *ComponentRecommendation) SetConfigRecommendations(v []*ConfigRecommendation) *ComponentRecommendation {
- s.ConfigRecommendations = v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetRecommendationStatus sets the RecommendationStatus field's value.
-func (s *ComponentRecommendation) SetRecommendationStatus(v string) *ComponentRecommendation {
- s.RecommendationStatus = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *DescribeAppAssessmentInput) SetAssessmentArn(v string) *DescribeAppAssessmentInput {
+ s.AssessmentArn = &v
return s
}
-// Defines a configuration recommendation.
-type ConfigRecommendation struct {
+type DescribeAppAssessmentOutput struct {
_ struct{} `type:"structure"`
- // The application component name.
- AppComponentName *string `locationName:"appComponentName" type:"string"`
-
- // The current compliance against the resiliency policy before applying the
- // configuration change.
- Compliance map[string]*DisruptionCompliance `locationName:"compliance" type:"map"`
-
- // The cost for the application.
- Cost *Cost `locationName:"cost" type:"structure"`
-
- // The optional description for an app.
- Description *string `locationName:"description" type:"string"`
-
- // The architecture type.
- HaArchitecture *string `locationName:"haArchitecture" type:"string" enum:"HaArchitecture"`
-
- // The name of the recommendation configuration.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // The type of optimization.
- //
- // OptimizationType is a required field
- OptimizationType *string `locationName:"optimizationType" type:"string" required:"true" enum:"ConfigRecommendationOptimizationType"`
-
- // The expected compliance against the resiliency policy after applying the
- // configuration change.
- RecommendationCompliance map[string]*RecommendationDisruptionCompliance `locationName:"recommendationCompliance" type:"map"`
-
- // The reference identifier for the recommendation configuration.
+ // The assessment for an AWS Resilience Hub application, returned as an object.
+ // This object includes Amazon Resource Names (ARNs), compliance information,
+ // compliance status, cost, messages, resiliency scores, and more.
//
- // ReferenceId is a required field
- ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
-
- // List of the suggested configuration changes.
- SuggestedChanges []*string `locationName:"suggestedChanges" type:"list"`
+ // Assessment is a required field
+ Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
}
// String returns the string representation.
@@ -5765,7 +9447,7 @@ type ConfigRecommendation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigRecommendation) String() string {
+func (s DescribeAppAssessmentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5774,85 +9456,26 @@ func (s ConfigRecommendation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConfigRecommendation) GoString() string {
+func (s DescribeAppAssessmentOutput) GoString() string {
return s.String()
}
-// SetAppComponentName sets the AppComponentName field's value.
-func (s *ConfigRecommendation) SetAppComponentName(v string) *ConfigRecommendation {
- s.AppComponentName = &v
- return s
-}
-
-// SetCompliance sets the Compliance field's value.
-func (s *ConfigRecommendation) SetCompliance(v map[string]*DisruptionCompliance) *ConfigRecommendation {
- s.Compliance = v
- return s
-}
-
-// SetCost sets the Cost field's value.
-func (s *ConfigRecommendation) SetCost(v *Cost) *ConfigRecommendation {
- s.Cost = v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *ConfigRecommendation) SetDescription(v string) *ConfigRecommendation {
- s.Description = &v
- return s
-}
-
-// SetHaArchitecture sets the HaArchitecture field's value.
-func (s *ConfigRecommendation) SetHaArchitecture(v string) *ConfigRecommendation {
- s.HaArchitecture = &v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *ConfigRecommendation) SetName(v string) *ConfigRecommendation {
- s.Name = &v
- return s
-}
-
-// SetOptimizationType sets the OptimizationType field's value.
-func (s *ConfigRecommendation) SetOptimizationType(v string) *ConfigRecommendation {
- s.OptimizationType = &v
- return s
-}
-
-// SetRecommendationCompliance sets the RecommendationCompliance field's value.
-func (s *ConfigRecommendation) SetRecommendationCompliance(v map[string]*RecommendationDisruptionCompliance) *ConfigRecommendation {
- s.RecommendationCompliance = v
- return s
-}
-
-// SetReferenceId sets the ReferenceId field's value.
-func (s *ConfigRecommendation) SetReferenceId(v string) *ConfigRecommendation {
- s.ReferenceId = &v
- return s
-}
-
-// SetSuggestedChanges sets the SuggestedChanges field's value.
-func (s *ConfigRecommendation) SetSuggestedChanges(v []*string) *ConfigRecommendation {
- s.SuggestedChanges = v
+// SetAssessment sets the Assessment field's value.
+func (s *DescribeAppAssessmentOutput) SetAssessment(v *AppAssessment) *DescribeAppAssessmentOutput {
+ s.Assessment = v
return s
}
-// Occurs when a conflict with a previous successful write is detected. This
-// generally occurs when the previous write did not have time to propagate to
-// the host serving the current request. A retry (with appropriate backoff logic)
-// is the recommended response to this exception.
-type ConflictException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"message" min:"1" type:"string"`
-
- // The identifier of the resource that the exception applies to.
- ResourceId *string `locationName:"resourceId" type:"string"`
+type DescribeAppInput struct {
+ _ struct{} `type:"structure"`
- // The type of the resource that the exception applies to.
- ResourceType *string `locationName:"resourceType" type:"string"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -5860,7 +9483,7 @@ type ConflictException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) String() string {
+func (s DescribeAppInput) String() string {
return awsutil.Prettify(s)
}
@@ -5869,66 +9492,37 @@ func (s ConflictException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ConflictException) GoString() string {
+func (s DescribeAppInput) GoString() string {
return s.String()
}
-func newErrorConflictException(v protocol.ResponseMetadata) error {
- return &ConflictException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeAppInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
-}
-// Code returns the exception type name.
-func (s *ConflictException) Code() string {
- return "ConflictException"
-}
-
-// Message returns the exception's message.
-func (s *ConflictException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
+ if invalidParams.Len() > 0 {
+ return invalidParams
}
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ConflictException) OrigErr() error {
return nil
}
-func (s *ConflictException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ConflictException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
-
-// RequestID returns the service's response RequestID for request.
-func (s *ConflictException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppInput) SetAppArn(v string) *DescribeAppInput {
+ s.AppArn = &v
+ return s
}
-// Defines a cost object.
-type Cost struct {
+type DescribeAppOutput struct {
_ struct{} `type:"structure"`
- // The cost amount.
- //
- // Amount is a required field
- Amount *float64 `locationName:"amount" type:"double" required:"true"`
-
- // The cost currency, for example USD.
- //
- // Currency is a required field
- Currency *string `locationName:"currency" type:"string" required:"true"`
-
- // The cost frequency.
+ // The specified application, returned as an object with details including compliance
+ // status, creation time, description, resiliency score, and more.
//
- // Frequency is a required field
- Frequency *string `locationName:"frequency" type:"string" required:"true" enum:"CostFrequency"`
+ // App is a required field
+ App *App `locationName:"app" type:"structure" required:"true"`
}
// String returns the string representation.
@@ -5936,7 +9530,7 @@ type Cost struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Cost) String() string {
+func (s DescribeAppOutput) String() string {
return awsutil.Prettify(s)
}
@@ -5945,60 +9539,36 @@ func (s Cost) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s Cost) GoString() string {
+func (s DescribeAppOutput) GoString() string {
return s.String()
}
-// SetAmount sets the Amount field's value.
-func (s *Cost) SetAmount(v float64) *Cost {
- s.Amount = &v
- return s
-}
-
-// SetCurrency sets the Currency field's value.
-func (s *Cost) SetCurrency(v string) *Cost {
- s.Currency = &v
- return s
-}
-
-// SetFrequency sets the Frequency field's value.
-func (s *Cost) SetFrequency(v string) *Cost {
- s.Frequency = &v
+// SetApp sets the App field's value.
+func (s *DescribeAppOutput) SetApp(v *App) *DescribeAppOutput {
+ s.App = v
return s
}
-type CreateAppInput struct {
+type DescribeAppVersionAppComponentInput struct {
_ struct{} `type:"structure"`
- // Assessment execution schedule with 'Daily' or 'Disabled' values.
- AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
-
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The optional description for an app.
- Description *string `locationName:"description" type:"string"`
-
- // The name for the application.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- PolicyArn *string `locationName:"policyArn" type:"string"`
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
+ // The identifier of the Application Component.
//
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by CreateAppInput's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // Id is a required field
+ Id *string `locationName:"id" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6006,7 +9576,7 @@ type CreateAppInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAppInput) String() string {
+func (s DescribeAppVersionAppComponentInput) String() string {
return awsutil.Prettify(s)
}
@@ -6015,21 +9585,24 @@ func (s CreateAppInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAppInput) GoString() string {
+func (s DescribeAppVersionAppComponentInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateAppInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+func (s *DescribeAppVersionAppComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionAppComponentInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
}
if invalidParams.Len() > 0 {
@@ -6038,50 +9611,42 @@ func (s *CreateAppInput) Validate() error {
return nil
}
-// SetAssessmentSchedule sets the AssessmentSchedule field's value.
-func (s *CreateAppInput) SetAssessmentSchedule(v string) *CreateAppInput {
- s.AssessmentSchedule = &v
- return s
-}
-
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateAppInput) SetClientToken(v string) *CreateAppInput {
- s.ClientToken = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionAppComponentInput) SetAppArn(v string) *DescribeAppVersionAppComponentInput {
+ s.AppArn = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *CreateAppInput) SetDescription(v string) *CreateAppInput {
- s.Description = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionAppComponentInput) SetAppVersion(v string) *DescribeAppVersionAppComponentInput {
+ s.AppVersion = &v
return s
}
-// SetName sets the Name field's value.
-func (s *CreateAppInput) SetName(v string) *CreateAppInput {
- s.Name = &v
+// SetId sets the Id field's value.
+func (s *DescribeAppVersionAppComponentInput) SetId(v string) *DescribeAppVersionAppComponentInput {
+ s.Id = &v
return s
}
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *CreateAppInput) SetPolicyArn(v string) *CreateAppInput {
- s.PolicyArn = &v
- return s
-}
+type DescribeAppVersionAppComponentOutput struct {
+ _ struct{} `type:"structure"`
-// SetTags sets the Tags field's value.
-func (s *CreateAppInput) SetTags(v map[string]*string) *CreateAppInput {
- s.Tags = v
- return s
-}
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
-type CreateAppOutput struct {
- _ struct{} `type:"structure"`
+ // Defines an Application Component.
+ AppComponent *AppComponent `locationName:"appComponent" type:"structure"`
- // The created application returned as an object with details including compliance
- // status, creation time, description, resiliency score, and more.
+ // The AWS Resilience Hub application version.
//
- // App is a required field
- App *App `locationName:"app" type:"structure" required:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6089,7 +9654,7 @@ type CreateAppOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAppOutput) String() string {
+func (s DescribeAppVersionAppComponentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6098,76 +9663,43 @@ func (s CreateAppOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateAppOutput) GoString() string {
+func (s DescribeAppVersionAppComponentOutput) GoString() string {
return s.String()
}
-// SetApp sets the App field's value.
-func (s *CreateAppOutput) SetApp(v *App) *CreateAppOutput {
- s.App = v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionAppComponentOutput) SetAppArn(v string) *DescribeAppVersionAppComponentOutput {
+ s.AppArn = &v
return s
}
-type CreateRecommendationTemplateInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
-
- // The name of the Amazon S3 bucket that will contain the recommendation template.
- BucketName *string `locationName:"bucketName" type:"string"`
-
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The format for the recommendation template.
- //
- // CfnJson
- //
- // The template is CloudFormation JSON.
- //
- // CfnYaml
- //
- // The template is CloudFormation YAML.
- Format *string `locationName:"format" type:"string" enum:"TemplateFormat"`
+// SetAppComponent sets the AppComponent field's value.
+func (s *DescribeAppVersionAppComponentOutput) SetAppComponent(v *AppComponent) *DescribeAppVersionAppComponentOutput {
+ s.AppComponent = v
+ return s
+}
- // The name for the recommendation template.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionAppComponentOutput) SetAppVersion(v string) *DescribeAppVersionAppComponentOutput {
+ s.AppVersion = &v
+ return s
+}
- // Identifiers for the recommendations used to create a recommendation template.
- RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`
+type DescribeAppVersionInput struct {
+ _ struct{} `type:"structure"`
- // An array of strings that specify the recommendation template type or types.
- //
- // Alarm
- //
- // The template is an AlarmRecommendation template.
- //
- // Sop
- //
- // The template is a SopRecommendation template.
- //
- // Test
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // The template is a TestRecommendation template.
- RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" enum:"RenderRecommendationType"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
+ // The AWS Resilience Hub application version.
//
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by CreateRecommendationTemplateInput's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6175,7 +9707,7 @@ type CreateRecommendationTemplateInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateRecommendationTemplateInput) String() string {
+func (s DescribeAppVersionInput) String() string {
return awsutil.Prettify(s)
}
@@ -6184,30 +9716,18 @@ func (s CreateRecommendationTemplateInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateRecommendationTemplateInput) GoString() string {
+func (s DescribeAppVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateRecommendationTemplateInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateRecommendationTemplateInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
- }
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Name == nil {
- invalidParams.Add(request.NewErrParamRequired("Name"))
- }
- if s.RecommendationIds != nil && len(s.RecommendationIds) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RecommendationIds", 1))
- }
- if s.RecommendationTypes != nil && len(s.RecommendationTypes) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("RecommendationTypes", 1))
+func (s *DescribeAppVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
if invalidParams.Len() > 0 {
@@ -6216,61 +9736,38 @@ func (s *CreateRecommendationTemplateInput) Validate() error {
return nil
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *CreateRecommendationTemplateInput) SetAssessmentArn(v string) *CreateRecommendationTemplateInput {
- s.AssessmentArn = &v
- return s
-}
-
-// SetBucketName sets the BucketName field's value.
-func (s *CreateRecommendationTemplateInput) SetBucketName(v string) *CreateRecommendationTemplateInput {
- s.BucketName = &v
- return s
-}
-
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateRecommendationTemplateInput) SetClientToken(v string) *CreateRecommendationTemplateInput {
- s.ClientToken = &v
- return s
-}
-
-// SetFormat sets the Format field's value.
-func (s *CreateRecommendationTemplateInput) SetFormat(v string) *CreateRecommendationTemplateInput {
- s.Format = &v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *CreateRecommendationTemplateInput) SetName(v string) *CreateRecommendationTemplateInput {
- s.Name = &v
- return s
-}
-
-// SetRecommendationIds sets the RecommendationIds field's value.
-func (s *CreateRecommendationTemplateInput) SetRecommendationIds(v []*string) *CreateRecommendationTemplateInput {
- s.RecommendationIds = v
- return s
-}
-
-// SetRecommendationTypes sets the RecommendationTypes field's value.
-func (s *CreateRecommendationTemplateInput) SetRecommendationTypes(v []*string) *CreateRecommendationTemplateInput {
- s.RecommendationTypes = v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionInput) SetAppArn(v string) *DescribeAppVersionInput {
+ s.AppArn = &v
return s
-}
-
-// SetTags sets the Tags field's value.
-func (s *CreateRecommendationTemplateInput) SetTags(v map[string]*string) *CreateRecommendationTemplateInput {
- s.Tags = v
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionInput) SetAppVersion(v string) *DescribeAppVersionInput {
+ s.AppVersion = &v
return s
}
-type CreateRecommendationTemplateOutput struct {
+type DescribeAppVersionOutput struct {
_ struct{} `type:"structure"`
- // The newly created recommendation template, returned as an object. This object
- // includes the template's name, format, status, tags, Amazon S3 bucket location,
- // and more.
- RecommendationTemplate *RecommendationTemplate `locationName:"recommendationTemplate" type:"structure"`
+ // Additional configuration parameters for an AWS Resilience Hub application.
+ //
+ // Currently, this parameter supports only failover region and account.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6278,7 +9775,7 @@ type CreateRecommendationTemplateOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateRecommendationTemplateOutput) String() string {
+func (s DescribeAppVersionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6287,55 +9784,58 @@ func (s CreateRecommendationTemplateOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateRecommendationTemplateOutput) GoString() string {
+func (s DescribeAppVersionOutput) GoString() string {
return s.String()
}
-// SetRecommendationTemplate sets the RecommendationTemplate field's value.
-func (s *CreateRecommendationTemplateOutput) SetRecommendationTemplate(v *RecommendationTemplate) *CreateRecommendationTemplateOutput {
- s.RecommendationTemplate = v
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *DescribeAppVersionOutput) SetAdditionalInfo(v map[string][]*string) *DescribeAppVersionOutput {
+ s.AdditionalInfo = v
return s
}
-type CreateResiliencyPolicyInput struct {
- _ struct{} `type:"structure"`
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionOutput) SetAppArn(v string) *DescribeAppVersionOutput {
+ s.AppArn = &v
+ return s
+}
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionOutput) SetAppVersion(v string) *DescribeAppVersionOutput {
+ s.AppVersion = &v
+ return s
+}
- // Specifies a high-level geographical location constraint for where your resilience
- // policy data can be stored.
- DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`
+type DescribeAppVersionResourceInput struct {
+ _ struct{} `type:"structure"`
- // The type of resiliency policy to be created, including the recovery time
- // objective (RTO) and recovery point objective (RPO) in seconds.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // Policy is a required field
- Policy map[string]*FailurePolicy `locationName:"policy" type:"map" required:"true"`
-
- // The description for the policy.
- PolicyDescription *string `locationName:"policyDescription" type:"string"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The name of the policy
+ // The AWS Resilience Hub application version.
//
- // PolicyName is a required field
- PolicyName *string `locationName:"policyName" type:"string" required:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by CreateResiliencyPolicyInput's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // The Amazon Web Services account that owns the physical resource.
+ AwsAccountId *string `locationName:"awsAccountId" type:"string"`
- // The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
- // to lowest (NonCritical).
- //
- // Tier is a required field
- Tier *string `locationName:"tier" type:"string" required:"true" enum:"ResiliencyPolicyTier"`
+ // The Amazon Web Services region that owns the physical resource.
+ AwsRegion *string `locationName:"awsRegion" type:"string"`
+
+ // The logical identifier of the resource.
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure"`
+
+ // The physical identifier of the resource.
+ PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`
+
+ // The name of the resource.
+ ResourceName *string `locationName:"resourceName" type:"string"`
}
// String returns the string representation.
@@ -6343,7 +9843,7 @@ type CreateResiliencyPolicyInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateResiliencyPolicyInput) String() string {
+func (s DescribeAppVersionResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -6352,36 +9852,25 @@ func (s CreateResiliencyPolicyInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateResiliencyPolicyInput) GoString() string {
+func (s DescribeAppVersionResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *CreateResiliencyPolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "CreateResiliencyPolicyInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Policy == nil {
- invalidParams.Add(request.NewErrParamRequired("Policy"))
- }
- if s.PolicyName == nil {
- invalidParams.Add(request.NewErrParamRequired("PolicyName"))
+func (s *DescribeAppVersionResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionResourceInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
- if s.Tier == nil {
- invalidParams.Add(request.NewErrParamRequired("Tier"))
+ if s.PhysicalResourceId != nil && len(*s.PhysicalResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PhysicalResourceId", 1))
}
- if s.Policy != nil {
- for i, v := range s.Policy {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Policy", i), err.(request.ErrInvalidParams))
- }
+ if s.LogicalResourceId != nil {
+ if err := s.LogicalResourceId.Validate(); err != nil {
+ invalidParams.AddNested("LogicalResourceId", err.(request.ErrInvalidParams))
}
}
@@ -6391,56 +9880,68 @@ func (s *CreateResiliencyPolicyInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *CreateResiliencyPolicyInput) SetClientToken(v string) *CreateResiliencyPolicyInput {
- s.ClientToken = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionResourceInput) SetAppArn(v string) *DescribeAppVersionResourceInput {
+ s.AppArn = &v
return s
}
-// SetDataLocationConstraint sets the DataLocationConstraint field's value.
-func (s *CreateResiliencyPolicyInput) SetDataLocationConstraint(v string) *CreateResiliencyPolicyInput {
- s.DataLocationConstraint = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionResourceInput) SetAppVersion(v string) *DescribeAppVersionResourceInput {
+ s.AppVersion = &v
return s
}
-// SetPolicy sets the Policy field's value.
-func (s *CreateResiliencyPolicyInput) SetPolicy(v map[string]*FailurePolicy) *CreateResiliencyPolicyInput {
- s.Policy = v
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *DescribeAppVersionResourceInput) SetAwsAccountId(v string) *DescribeAppVersionResourceInput {
+ s.AwsAccountId = &v
return s
}
-// SetPolicyDescription sets the PolicyDescription field's value.
-func (s *CreateResiliencyPolicyInput) SetPolicyDescription(v string) *CreateResiliencyPolicyInput {
- s.PolicyDescription = &v
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *DescribeAppVersionResourceInput) SetAwsRegion(v string) *DescribeAppVersionResourceInput {
+ s.AwsRegion = &v
return s
}
-// SetPolicyName sets the PolicyName field's value.
-func (s *CreateResiliencyPolicyInput) SetPolicyName(v string) *CreateResiliencyPolicyInput {
- s.PolicyName = &v
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *DescribeAppVersionResourceInput) SetLogicalResourceId(v *LogicalResourceId) *DescribeAppVersionResourceInput {
+ s.LogicalResourceId = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *CreateResiliencyPolicyInput) SetTags(v map[string]*string) *CreateResiliencyPolicyInput {
- s.Tags = v
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *DescribeAppVersionResourceInput) SetPhysicalResourceId(v string) *DescribeAppVersionResourceInput {
+ s.PhysicalResourceId = &v
return s
}
-// SetTier sets the Tier field's value.
-func (s *CreateResiliencyPolicyInput) SetTier(v string) *CreateResiliencyPolicyInput {
- s.Tier = &v
+// SetResourceName sets the ResourceName field's value.
+func (s *DescribeAppVersionResourceInput) SetResourceName(v string) *DescribeAppVersionResourceInput {
+ s.ResourceName = &v
return s
}
-type CreateResiliencyPolicyOutput struct {
+type DescribeAppVersionResourceOutput struct {
_ struct{} `type:"structure"`
- // The type of resiliency policy that was created, including the recovery time
- // objective (RTO) and recovery point objective (RPO) in seconds.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // Policy is a required field
- Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Defines a physical resource. A physical resource is a resource that exists
+ // in your account. It can be identified using an Amazon Resource Name (ARN)
+ // or a Resilience Hub-native identifier.
+ PhysicalResource *PhysicalResource `locationName:"physicalResource" type:"structure"`
}
// String returns the string representation.
@@ -6448,7 +9949,7 @@ type CreateResiliencyPolicyOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateResiliencyPolicyOutput) String() string {
+func (s DescribeAppVersionResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6457,31 +9958,46 @@ func (s CreateResiliencyPolicyOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s CreateResiliencyPolicyOutput) GoString() string {
+func (s DescribeAppVersionResourceOutput) GoString() string {
return s.String()
}
-// SetPolicy sets the Policy field's value.
-func (s *CreateResiliencyPolicyOutput) SetPolicy(v *ResiliencyPolicy) *CreateResiliencyPolicyOutput {
- s.Policy = v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionResourceOutput) SetAppArn(v string) *DescribeAppVersionResourceOutput {
+ s.AppArn = &v
return s
}
-type DeleteAppAssessmentInput struct {
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionResourceOutput) SetAppVersion(v string) *DescribeAppVersionResourceOutput {
+ s.AppVersion = &v
+ return s
+}
+
+// SetPhysicalResource sets the PhysicalResource field's value.
+func (s *DescribeAppVersionResourceOutput) SetPhysicalResource(v *PhysicalResource) *DescribeAppVersionResourceOutput {
+ s.PhysicalResource = v
+ return s
+}
+
+type DescribeAppVersionResourcesResolutionStatusInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // The identifier for a specific resolution.
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -6489,7 +10005,7 @@ type DeleteAppAssessmentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppAssessmentInput) String() string {
+func (s DescribeAppVersionResourcesResolutionStatusInput) String() string {
return awsutil.Prettify(s)
}
@@ -6498,18 +10014,21 @@ func (s DeleteAppAssessmentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppAssessmentInput) GoString() string {
+func (s DescribeAppVersionResourcesResolutionStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteAppAssessmentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteAppAssessmentInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+func (s *DescribeAppVersionResourcesResolutionStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionResourcesResolutionStatusInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+ }
+ if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
}
if invalidParams.Len() > 0 {
@@ -6518,33 +10037,52 @@ func (s *DeleteAppAssessmentInput) Validate() error {
return nil
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *DeleteAppAssessmentInput) SetAssessmentArn(v string) *DeleteAppAssessmentInput {
- s.AssessmentArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusInput) SetAppArn(v string) *DescribeAppVersionResourcesResolutionStatusInput {
+ s.AppArn = &v
return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *DeleteAppAssessmentInput) SetClientToken(v string) *DeleteAppAssessmentInput {
- s.ClientToken = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusInput) SetAppVersion(v string) *DescribeAppVersionResourcesResolutionStatusInput {
+ s.AppVersion = &v
return s
}
-type DeleteAppAssessmentOutput struct {
+// SetResolutionId sets the ResolutionId field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusInput) SetResolutionId(v string) *DescribeAppVersionResourcesResolutionStatusInput {
+ s.ResolutionId = &v
+ return s
+}
+
+type DescribeAppVersionResourcesResolutionStatusOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The current status of the assessment for the resiliency policy.
+ // The version of the application.
//
- // AssessmentStatus is a required field
- AssessmentStatus *string `locationName:"assessmentStatus" type:"string" required:"true" enum:"AssessmentStatus"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // The returned error message for the request.
+ ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`
+
+ // The identifier for a specific resolution.
+ //
+ // ResolutionId is a required field
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+
+ // The status of the action.
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
}
// String returns the string representation.
@@ -6552,7 +10090,7 @@ type DeleteAppAssessmentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppAssessmentOutput) String() string {
+func (s DescribeAppVersionResourcesResolutionStatusOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6561,40 +10099,55 @@ func (s DeleteAppAssessmentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppAssessmentOutput) GoString() string {
+func (s DescribeAppVersionResourcesResolutionStatusOutput) GoString() string {
return s.String()
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *DeleteAppAssessmentOutput) SetAssessmentArn(v string) *DeleteAppAssessmentOutput {
- s.AssessmentArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetAppArn(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+ s.AppArn = &v
return s
}
-// SetAssessmentStatus sets the AssessmentStatus field's value.
-func (s *DeleteAppAssessmentOutput) SetAssessmentStatus(v string) *DeleteAppAssessmentOutput {
- s.AssessmentStatus = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetAppVersion(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+ s.AppVersion = &v
return s
}
-type DeleteAppInput struct {
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetErrorMessage(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+ s.ErrorMessage = &v
+ return s
+}
+
+// SetResolutionId sets the ResolutionId field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetResolutionId(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+ s.ResolutionId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetStatus(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+ s.Status = &v
+ return s
+}
+
+type DescribeAppVersionTemplateInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // A boolean option to force the deletion of a Resilience Hub application.
- ForceDelete *bool `locationName:"forceDelete" type:"boolean"`
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6602,7 +10155,7 @@ type DeleteAppInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppInput) String() string {
+func (s DescribeAppVersionTemplateInput) String() string {
return awsutil.Prettify(s)
}
@@ -6611,18 +10164,18 @@ func (s DeleteAppInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppInput) GoString() string {
+func (s DescribeAppVersionTemplateInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteAppInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
+func (s *DescribeAppVersionTemplateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionTemplateInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
if invalidParams.Len() > 0 {
@@ -6632,33 +10185,79 @@ func (s *DeleteAppInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *DeleteAppInput) SetAppArn(v string) *DeleteAppInput {
+func (s *DescribeAppVersionTemplateInput) SetAppArn(v string) *DescribeAppVersionTemplateInput {
s.AppArn = &v
return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *DeleteAppInput) SetClientToken(v string) *DeleteAppInput {
- s.ClientToken = &v
- return s
-}
-
-// SetForceDelete sets the ForceDelete field's value.
-func (s *DeleteAppInput) SetForceDelete(v bool) *DeleteAppInput {
- s.ForceDelete = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionTemplateInput) SetAppVersion(v string) *DescribeAppVersionTemplateInput {
+ s.AppVersion = &v
return s
}
-type DeleteAppOutput struct {
+type DescribeAppVersionTemplateOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // A JSON string that provides information about your application structure.
+ // To learn more about the appTemplateBody template, see the sample template
+ // provided in the Examples section.
+ //
+ // The appTemplateBody JSON string has the following structure:
+ //
+ // * resources The list of logical resources that needs to be included in
+ // the application. Type: Array Don't add the resources that you want to
+ // exclude. Each resources array item includes the following fields: logicalResourceId
+ // The logical identifier of the resource. Type: Object Each logicalResourceId
+ // object includes the following fields: identifier The identifier of the
+ // resource. Type: String logicalStackName The name of the CloudFormation
+ // stack this resource belongs to. Type: String resourceGroupName The name
+ // of the resource group this resource belongs to. Type: String terraformSourceName
+ // The name of the Terraform S3 state file this resource belongs to. Type:
+ // String type The type of resource. Type: string name The name of the resource.
+ // Type: String
+ //
+ // * appComponents The list of Application Components that this resource
+ // belongs to. If an Application Component is not part of the AWS Resilience
+ // Hub application, it will be added. Type: Array Each appComponents array
+ // item includes the following fields: name The name of the Application Component.
+ // Type: String type The type of Application Component. For more information
+ // about the types of Application Component, see Grouping resources in an
+ // AppComponent (https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html).
+ // Type: String resourceNames The list of included resources that are assigned
+ // to the Application Component. Type: Array of strings additionalInfo Additional
+ // configuration parameters for an AWS Resilience Hub application. Currently,
+ // this parameter accepts a key-value mapping (in a string format) of only
+ // one failover region and one associated account. Key: "failover-regions"
+ // Value: "[{"region":"", "accounts":[{"id":""}]}]"
+ //
+ // * excludedResources The list of logical resource identifiers to be excluded
+ // from the application. Type: Array Don't add the resources that you want
+ // to include. Each excludedResources array item includes the following fields:
+ // logicalResourceIds The logical identifier of the resource. Type: Object
+ // You can configure only one of the following fields: logicalStackName resourceGroupName
+ // terraformSourceName Each logicalResourceIds object includes the following
+ // fields: identifier The identifier of the resource. Type: String logicalStackName
+ // The name of the CloudFormation stack this resource belongs to. Type: String
+ // resourceGroupName The name of the resource group this resource belongs
+ // to. Type: String terraformSourceName The name of the Terraform S3 state
+ // file this resource belongs to. Type: String
+ //
+ // AppTemplateBody is a required field
+ AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6666,7 +10265,7 @@ type DeleteAppOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppOutput) String() string {
+func (s DescribeAppVersionTemplateOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6675,28 +10274,38 @@ func (s DeleteAppOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteAppOutput) GoString() string {
+func (s DescribeAppVersionTemplateOutput) GoString() string {
return s.String()
}
// SetAppArn sets the AppArn field's value.
-func (s *DeleteAppOutput) SetAppArn(v string) *DeleteAppOutput {
+func (s *DescribeAppVersionTemplateOutput) SetAppArn(v string) *DescribeAppVersionTemplateOutput {
s.AppArn = &v
return s
}
-type DeleteRecommendationTemplateInput struct {
- _ struct{} `type:"structure"`
+// SetAppTemplateBody sets the AppTemplateBody field's value.
+func (s *DescribeAppVersionTemplateOutput) SetAppTemplateBody(v string) *DescribeAppVersionTemplateOutput {
+ s.AppTemplateBody = &v
+ return s
+}
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeAppVersionTemplateOutput) SetAppVersion(v string) *DescribeAppVersionTemplateOutput {
+ s.AppVersion = &v
+ return s
+}
- // The Amazon Resource Name (ARN) for a recommendation template.
+type DescribeDraftAppVersionResourcesImportStatusInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // RecommendationTemplateArn is a required field
- RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -6704,7 +10313,7 @@ type DeleteRecommendationTemplateInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteRecommendationTemplateInput) String() string {
+func (s DescribeDraftAppVersionResourcesImportStatusInput) String() string {
return awsutil.Prettify(s)
}
@@ -6713,18 +10322,15 @@ func (s DeleteRecommendationTemplateInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteRecommendationTemplateInput) GoString() string {
+func (s DescribeDraftAppVersionResourcesImportStatusInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteRecommendationTemplateInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteRecommendationTemplateInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.RecommendationTemplateArn == nil {
- invalidParams.Add(request.NewErrParamRequired("RecommendationTemplateArn"))
+func (s *DescribeDraftAppVersionResourcesImportStatusInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeDraftAppVersionResourcesImportStatusInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
if invalidParams.Len() > 0 {
@@ -6733,30 +10339,40 @@ func (s *DeleteRecommendationTemplateInput) Validate() error {
return nil
}
-// SetClientToken sets the ClientToken field's value.
-func (s *DeleteRecommendationTemplateInput) SetClientToken(v string) *DeleteRecommendationTemplateInput {
- s.ClientToken = &v
- return s
-}
-
-// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
-func (s *DeleteRecommendationTemplateInput) SetRecommendationTemplateArn(v string) *DeleteRecommendationTemplateInput {
- s.RecommendationTemplateArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusInput) SetAppArn(v string) *DescribeDraftAppVersionResourcesImportStatusInput {
+ s.AppArn = &v
return s
}
-type DeleteRecommendationTemplateOutput struct {
+type DescribeDraftAppVersionResourcesImportStatusOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) for a recommendation template.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // RecommendationTemplateArn is a required field
- RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // The returned error message for the request.
+ ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`
// The status of the action.
//
// Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`
+ Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`
+
+ // The timestamp for when the status last changed.
+ //
+ // StatusChangeTime is a required field
+ StatusChangeTime *time.Time `locationName:"statusChangeTime" type:"timestamp" required:"true"`
}
// String returns the string representation.
@@ -6764,7 +10380,7 @@ type DeleteRecommendationTemplateOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteRecommendationTemplateOutput) String() string {
+func (s DescribeDraftAppVersionResourcesImportStatusOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6773,92 +10389,47 @@ func (s DeleteRecommendationTemplateOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteRecommendationTemplateOutput) GoString() string {
+func (s DescribeDraftAppVersionResourcesImportStatusOutput) GoString() string {
return s.String()
}
-// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
-func (s *DeleteRecommendationTemplateOutput) SetRecommendationTemplateArn(v string) *DeleteRecommendationTemplateOutput {
- s.RecommendationTemplateArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetAppArn(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
+ s.AppArn = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *DeleteRecommendationTemplateOutput) SetStatus(v string) *DeleteRecommendationTemplateOutput {
- s.Status = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetAppVersion(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
+ s.AppVersion = &v
return s
}
-type DeleteResiliencyPolicyInput struct {
- _ struct{} `type:"structure"`
-
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
-
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // PolicyArn is a required field
- PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteResiliencyPolicyInput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DeleteResiliencyPolicyInput) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DeleteResiliencyPolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DeleteResiliencyPolicyInput"}
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.PolicyArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PolicyArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetErrorMessage sets the ErrorMessage field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetErrorMessage(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
+ s.ErrorMessage = &v
+ return s
}
-// SetClientToken sets the ClientToken field's value.
-func (s *DeleteResiliencyPolicyInput) SetClientToken(v string) *DeleteResiliencyPolicyInput {
- s.ClientToken = &v
+// SetStatus sets the Status field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetStatus(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
+ s.Status = &v
return s
}
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *DeleteResiliencyPolicyInput) SetPolicyArn(v string) *DeleteResiliencyPolicyInput {
- s.PolicyArn = &v
+// SetStatusChangeTime sets the StatusChangeTime field's value.
+func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetStatusChangeTime(v time.Time) *DescribeDraftAppVersionResourcesImportStatusOutput {
+ s.StatusChangeTime = &v
return s
}
-type DeleteResiliencyPolicyOutput struct {
+type DescribeResiliencyPolicyInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // in the AWS General Reference guide.
//
// PolicyArn is a required field
PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
@@ -6869,7 +10440,7 @@ type DeleteResiliencyPolicyOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteResiliencyPolicyOutput) String() string {
+func (s DescribeResiliencyPolicyInput) String() string {
return awsutil.Prettify(s)
}
@@ -6878,26 +10449,39 @@ func (s DeleteResiliencyPolicyOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DeleteResiliencyPolicyOutput) GoString() string {
+func (s DescribeResiliencyPolicyInput) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DescribeResiliencyPolicyInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DescribeResiliencyPolicyInput"}
+ if s.PolicyArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("PolicyArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
// SetPolicyArn sets the PolicyArn field's value.
-func (s *DeleteResiliencyPolicyOutput) SetPolicyArn(v string) *DeleteResiliencyPolicyOutput {
+func (s *DescribeResiliencyPolicyInput) SetPolicyArn(v string) *DescribeResiliencyPolicyInput {
s.PolicyArn = &v
return s
}
-type DescribeAppAssessmentInput struct {
+type DescribeResiliencyPolicyOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // Information about the specific resiliency policy, returned as an object.
+ // This object includes creation time, data location constraints, its name,
+ // description, tags, the recovery time objective (RTO) and recovery point objective
+ // (RPO) in seconds, and more.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // Policy is a required field
+ Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
}
// String returns the string representation.
@@ -6905,7 +10489,7 @@ type DescribeAppAssessmentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppAssessmentInput) String() string {
+func (s DescribeResiliencyPolicyOutput) String() string {
return awsutil.Prettify(s)
}
@@ -6914,38 +10498,51 @@ func (s DescribeAppAssessmentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppAssessmentInput) GoString() string {
+func (s DescribeResiliencyPolicyOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAppAssessmentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAppAssessmentInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *DescribeAppAssessmentInput) SetAssessmentArn(v string) *DescribeAppAssessmentInput {
- s.AssessmentArn = &v
+// SetPolicy sets the Policy field's value.
+func (s *DescribeResiliencyPolicyOutput) SetPolicy(v *ResiliencyPolicy) *DescribeResiliencyPolicyOutput {
+ s.Policy = v
return s
}
-type DescribeAppAssessmentOutput struct {
+// Defines the compliance against the resiliency policy for a disruption.
+type DisruptionCompliance struct {
_ struct{} `type:"structure"`
- // The assessment for an AWS Resilience Hub application, returned as an object.
- // This object includes Amazon Resource Names (ARNs), compliance information,
- // compliance status, cost, messages, resiliency scores, and more.
+ // The Recovery Point Objective (RPO) that is achievable, in seconds.
+ AchievableRpoInSecs *int64 `locationName:"achievableRpoInSecs" type:"integer"`
+
+ // The Recovery Time Objective (RTO) that is achievable, in seconds
+ AchievableRtoInSecs *int64 `locationName:"achievableRtoInSecs" type:"integer"`
+
+ // The current status of compliance for the resiliency policy.
//
- // Assessment is a required field
- Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
+ // ComplianceStatus is a required field
+ ComplianceStatus *string `locationName:"complianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`
+
+ // The current RPO, in seconds.
+ CurrentRpoInSecs *int64 `locationName:"currentRpoInSecs" type:"integer"`
+
+ // The current RTO, in seconds.
+ CurrentRtoInSecs *int64 `locationName:"currentRtoInSecs" type:"integer"`
+
+ // The disruption compliance message.
+ Message *string `locationName:"message" min:"1" type:"string"`
+
+ // The RPO description.
+ RpoDescription *string `locationName:"rpoDescription" min:"1" type:"string"`
+
+ // The RPO reference identifier.
+ RpoReferenceId *string `locationName:"rpoReferenceId" min:"1" type:"string"`
+
+ // The RTO description.
+ RtoDescription *string `locationName:"rtoDescription" min:"1" type:"string"`
+
+ // The RTO reference identifier.
+ RtoReferenceId *string `locationName:"rtoReferenceId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -6953,7 +10550,7 @@ type DescribeAppAssessmentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppAssessmentOutput) String() string {
+func (s DisruptionCompliance) String() string {
return awsutil.Prettify(s)
}
@@ -6962,73 +10559,83 @@ func (s DescribeAppAssessmentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppAssessmentOutput) GoString() string {
+func (s DisruptionCompliance) GoString() string {
return s.String()
}
-// SetAssessment sets the Assessment field's value.
-func (s *DescribeAppAssessmentOutput) SetAssessment(v *AppAssessment) *DescribeAppAssessmentOutput {
- s.Assessment = v
+// SetAchievableRpoInSecs sets the AchievableRpoInSecs field's value.
+func (s *DisruptionCompliance) SetAchievableRpoInSecs(v int64) *DisruptionCompliance {
+ s.AchievableRpoInSecs = &v
return s
}
-type DescribeAppInput struct {
- _ struct{} `type:"structure"`
+// SetAchievableRtoInSecs sets the AchievableRtoInSecs field's value.
+func (s *DisruptionCompliance) SetAchievableRtoInSecs(v int64) *DisruptionCompliance {
+ s.AchievableRtoInSecs = &v
+ return s
+}
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *DisruptionCompliance) SetComplianceStatus(v string) *DisruptionCompliance {
+ s.ComplianceStatus = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeAppInput) String() string {
- return awsutil.Prettify(s)
+// SetCurrentRpoInSecs sets the CurrentRpoInSecs field's value.
+func (s *DisruptionCompliance) SetCurrentRpoInSecs(v int64) *DisruptionCompliance {
+ s.CurrentRpoInSecs = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeAppInput) GoString() string {
- return s.String()
+// SetCurrentRtoInSecs sets the CurrentRtoInSecs field's value.
+func (s *DisruptionCompliance) SetCurrentRtoInSecs(v int64) *DisruptionCompliance {
+ s.CurrentRtoInSecs = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAppInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
+// SetMessage sets the Message field's value.
+func (s *DisruptionCompliance) SetMessage(v string) *DisruptionCompliance {
+ s.Message = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetRpoDescription sets the RpoDescription field's value.
+func (s *DisruptionCompliance) SetRpoDescription(v string) *DisruptionCompliance {
+ s.RpoDescription = &v
+ return s
}
-// SetAppArn sets the AppArn field's value.
-func (s *DescribeAppInput) SetAppArn(v string) *DescribeAppInput {
- s.AppArn = &v
+// SetRpoReferenceId sets the RpoReferenceId field's value.
+func (s *DisruptionCompliance) SetRpoReferenceId(v string) *DisruptionCompliance {
+ s.RpoReferenceId = &v
return s
}
-type DescribeAppOutput struct {
+// SetRtoDescription sets the RtoDescription field's value.
+func (s *DisruptionCompliance) SetRtoDescription(v string) *DisruptionCompliance {
+ s.RtoDescription = &v
+ return s
+}
+
+// SetRtoReferenceId sets the RtoReferenceId field's value.
+func (s *DisruptionCompliance) SetRtoReferenceId(v string) *DisruptionCompliance {
+ s.RtoReferenceId = &v
+ return s
+}
+
+// Defines a failure policy.
+type FailurePolicy struct {
_ struct{} `type:"structure"`
- // The specified application, returned as an object with details including compliance
- // status, creation time, description, resiliency score, and more.
+ // The Recovery Point Objective (RPO), in seconds.
//
- // App is a required field
- App *App `locationName:"app" type:"structure" required:"true"`
+ // RpoInSecs is a required field
+ RpoInSecs *int64 `locationName:"rpoInSecs" type:"integer" required:"true"`
+
+ // The Recovery Time Objective (RTO), in seconds.
+ //
+ // RtoInSecs is a required field
+ RtoInSecs *int64 `locationName:"rtoInSecs" type:"integer" required:"true"`
}
// String returns the string representation.
@@ -7036,7 +10643,7 @@ type DescribeAppOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppOutput) String() string {
+func (s FailurePolicy) String() string {
return awsutil.Prettify(s)
}
@@ -7045,34 +10652,58 @@ func (s DescribeAppOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppOutput) GoString() string {
+func (s FailurePolicy) GoString() string {
return s.String()
}
-// SetApp sets the App field's value.
-func (s *DescribeAppOutput) SetApp(v *App) *DescribeAppOutput {
- s.App = v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *FailurePolicy) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "FailurePolicy"}
+ if s.RpoInSecs == nil {
+ invalidParams.Add(request.NewErrParamRequired("RpoInSecs"))
+ }
+ if s.RtoInSecs == nil {
+ invalidParams.Add(request.NewErrParamRequired("RtoInSecs"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetRpoInSecs sets the RpoInSecs field's value.
+func (s *FailurePolicy) SetRpoInSecs(v int64) *FailurePolicy {
+ s.RpoInSecs = &v
return s
}
-type DescribeAppVersionResourcesResolutionStatusInput struct {
+// SetRtoInSecs sets the RtoInSecs field's value.
+func (s *FailurePolicy) SetRtoInSecs(v int64) *FailurePolicy {
+ s.RtoInSecs = &v
+ return s
+}
+
+type ImportResourcesToDraftAppVersionInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // The import strategy you would like to set to import resources into AWS Resilience
+ // Hub application.
+ ImportStrategy *string `locationName:"importStrategy" type:"string" enum:"ResourceImportStrategyType"`
- // The identifier for a specific resolution.
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
+ // The Amazon Resource Names (ARNs) for the resources that you want to import.
+ SourceArns []*string `locationName:"sourceArns" type:"list"`
+
+ // A list of terraform file s3 URLs you need to import.
+ TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
}
// String returns the string representation.
@@ -7080,7 +10711,7 @@ type DescribeAppVersionResourcesResolutionStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionResourcesResolutionStatusInput) String() string {
+func (s ImportResourcesToDraftAppVersionInput) String() string {
return awsutil.Prettify(s)
}
@@ -7089,21 +10720,25 @@ func (s DescribeAppVersionResourcesResolutionStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionResourcesResolutionStatusInput) GoString() string {
+func (s ImportResourcesToDraftAppVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAppVersionResourcesResolutionStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionResourcesResolutionStatusInput"}
+func (s *ImportResourcesToDraftAppVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ImportResourcesToDraftAppVersionInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
- }
- if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
+ if s.TerraformSources != nil {
+ for i, v := range s.TerraformSources {
+ if v == nil {
+ continue
+ }
+ if err := v.Validate(); err != nil {
+ invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TerraformSources", i), err.(request.ErrInvalidParams))
+ }
+ }
}
if invalidParams.Len() > 0 {
@@ -7113,30 +10748,36 @@ func (s *DescribeAppVersionResourcesResolutionStatusInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusInput) SetAppArn(v string) *DescribeAppVersionResourcesResolutionStatusInput {
+func (s *ImportResourcesToDraftAppVersionInput) SetAppArn(v string) *ImportResourcesToDraftAppVersionInput {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusInput) SetAppVersion(v string) *DescribeAppVersionResourcesResolutionStatusInput {
- s.AppVersion = &v
+// SetImportStrategy sets the ImportStrategy field's value.
+func (s *ImportResourcesToDraftAppVersionInput) SetImportStrategy(v string) *ImportResourcesToDraftAppVersionInput {
+ s.ImportStrategy = &v
return s
}
-// SetResolutionId sets the ResolutionId field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusInput) SetResolutionId(v string) *DescribeAppVersionResourcesResolutionStatusInput {
- s.ResolutionId = &v
+// SetSourceArns sets the SourceArns field's value.
+func (s *ImportResourcesToDraftAppVersionInput) SetSourceArns(v []*string) *ImportResourcesToDraftAppVersionInput {
+ s.SourceArns = v
return s
}
-type DescribeAppVersionResourcesResolutionStatusOutput struct {
+// SetTerraformSources sets the TerraformSources field's value.
+func (s *ImportResourcesToDraftAppVersionInput) SetTerraformSources(v []*TerraformSource) *ImportResourcesToDraftAppVersionInput {
+ s.TerraformSources = v
+ return s
+}
+
+type ImportResourcesToDraftAppVersionOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
@@ -7146,18 +10787,16 @@ type DescribeAppVersionResourcesResolutionStatusOutput struct {
// AppVersion is a required field
AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
- // The returned error message for the request.
- ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`
-
- // The identifier for a specific resolution.
- //
- // ResolutionId is a required field
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+ // The Amazon Resource Names (ARNs) for the resources that you imported.
+ SourceArns []*string `locationName:"sourceArns" type:"list"`
// The status of the action.
//
// Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
+ Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`
+
+ // A list of terraform file s3 URLs you need to import.
+ TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
}
// String returns the string representation.
@@ -7165,7 +10804,7 @@ type DescribeAppVersionResourcesResolutionStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionResourcesResolutionStatusOutput) String() string {
+func (s ImportResourcesToDraftAppVersionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7174,55 +10813,47 @@ func (s DescribeAppVersionResourcesResolutionStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionResourcesResolutionStatusOutput) GoString() string {
+func (s ImportResourcesToDraftAppVersionOutput) GoString() string {
return s.String()
}
// SetAppArn sets the AppArn field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetAppArn(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+func (s *ImportResourcesToDraftAppVersionOutput) SetAppArn(v string) *ImportResourcesToDraftAppVersionOutput {
s.AppArn = &v
return s
}
// SetAppVersion sets the AppVersion field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetAppVersion(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+func (s *ImportResourcesToDraftAppVersionOutput) SetAppVersion(v string) *ImportResourcesToDraftAppVersionOutput {
s.AppVersion = &v
return s
}
-// SetErrorMessage sets the ErrorMessage field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetErrorMessage(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
- s.ErrorMessage = &v
- return s
-}
-
-// SetResolutionId sets the ResolutionId field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetResolutionId(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
- s.ResolutionId = &v
+// SetSourceArns sets the SourceArns field's value.
+func (s *ImportResourcesToDraftAppVersionOutput) SetSourceArns(v []*string) *ImportResourcesToDraftAppVersionOutput {
+ s.SourceArns = v
return s
}
// SetStatus sets the Status field's value.
-func (s *DescribeAppVersionResourcesResolutionStatusOutput) SetStatus(v string) *DescribeAppVersionResourcesResolutionStatusOutput {
+func (s *ImportResourcesToDraftAppVersionOutput) SetStatus(v string) *ImportResourcesToDraftAppVersionOutput {
s.Status = &v
return s
}
-type DescribeAppVersionTemplateInput struct {
- _ struct{} `type:"structure"`
+// SetTerraformSources sets the TerraformSources field's value.
+func (s *ImportResourcesToDraftAppVersionOutput) SetTerraformSources(v []*TerraformSource) *ImportResourcesToDraftAppVersionOutput {
+ s.TerraformSources = v
+ return s
+}
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+// This exception occurs when there is an internal failure in the AWS Resilience
+// Hub service.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ Message_ *string `locationName:"message" min:"1" type:"string"`
}
// String returns the string representation.
@@ -7230,7 +10861,7 @@ type DescribeAppVersionTemplateInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionTemplateInput) String() string {
+func (s InternalServerException) String() string {
return awsutil.Prettify(s)
}
@@ -7239,58 +10870,66 @@ func (s DescribeAppVersionTemplateInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionTemplateInput) GoString() string {
+func (s InternalServerException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeAppVersionTemplateInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeAppVersionTemplateInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *DescribeAppVersionTemplateInput) SetAppArn(v string) *DescribeAppVersionTemplateInput {
- s.AppArn = &v
- return s
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *DescribeAppVersionTemplateInput) SetAppVersion(v string) *DescribeAppVersionTemplateInput {
- s.AppVersion = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-type DescribeAppVersionTemplateOutput struct {
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type ListAlarmRecommendationsInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
- // The body of the template.
- //
- // AppTemplateBody is a required field
- AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`
+ // The maximum number of results to include in the response. If more results
+ // exist than the specified MaxResults value, a token is included in the response
+ // so that the remaining results can be retrieved.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // Null, or the token from a previous call to get the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7298,7 +10937,7 @@ type DescribeAppVersionTemplateOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionTemplateOutput) String() string {
+func (s ListAlarmRecommendationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -7307,38 +10946,57 @@ func (s DescribeAppVersionTemplateOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeAppVersionTemplateOutput) GoString() string {
+func (s ListAlarmRecommendationsInput) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *DescribeAppVersionTemplateOutput) SetAppArn(v string) *DescribeAppVersionTemplateOutput {
- s.AppArn = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListAlarmRecommendationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAlarmRecommendationsInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *ListAlarmRecommendationsInput) SetAssessmentArn(v string) *ListAlarmRecommendationsInput {
+ s.AssessmentArn = &v
return s
}
-// SetAppTemplateBody sets the AppTemplateBody field's value.
-func (s *DescribeAppVersionTemplateOutput) SetAppTemplateBody(v string) *DescribeAppVersionTemplateOutput {
- s.AppTemplateBody = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAlarmRecommendationsInput) SetMaxResults(v int64) *ListAlarmRecommendationsInput {
+ s.MaxResults = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *DescribeAppVersionTemplateOutput) SetAppVersion(v string) *DescribeAppVersionTemplateOutput {
- s.AppVersion = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAlarmRecommendationsInput) SetNextToken(v string) *ListAlarmRecommendationsInput {
+ s.NextToken = &v
return s
}
-type DescribeDraftAppVersionResourcesImportStatusInput struct {
+type ListAlarmRecommendationsOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The alarm recommendations for an AWS Resilience Hub application, returned
+ // as an object. This object includes Application Component names, descriptions,
+ // information about whether a recommendation has already been implemented or
+ // not, prerequisites, and more.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // AlarmRecommendations is a required field
+ AlarmRecommendations []*AlarmRecommendation `locationName:"alarmRecommendations" type:"list" required:"true"`
+
+ // The token for the next set of results, or null if there are no more results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7346,7 +11004,7 @@ type DescribeDraftAppVersionResourcesImportStatusInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeDraftAppVersionResourcesImportStatusInput) String() string {
+func (s ListAlarmRecommendationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7355,57 +11013,55 @@ func (s DescribeDraftAppVersionResourcesImportStatusInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeDraftAppVersionResourcesImportStatusInput) GoString() string {
+func (s ListAlarmRecommendationsOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeDraftAppVersionResourcesImportStatusInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeDraftAppVersionResourcesImportStatusInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAlarmRecommendations sets the AlarmRecommendations field's value.
+func (s *ListAlarmRecommendationsOutput) SetAlarmRecommendations(v []*AlarmRecommendation) *ListAlarmRecommendationsOutput {
+ s.AlarmRecommendations = v
+ return s
}
-// SetAppArn sets the AppArn field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusInput) SetAppArn(v string) *DescribeDraftAppVersionResourcesImportStatusInput {
- s.AppArn = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAlarmRecommendationsOutput) SetNextToken(v string) *ListAlarmRecommendationsOutput {
+ s.NextToken = &v
return s
}
-type DescribeDraftAppVersionResourcesImportStatusOutput struct {
- _ struct{} `type:"structure"`
+type ListAppAssessmentsInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `location:"querystring" locationName:"appArn" type:"string"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // The name for the assessment.
+ AssessmentName *string `location:"querystring" locationName:"assessmentName" type:"string"`
+
+ // The current status of the assessment for the resiliency policy.
+ AssessmentStatus []*string `location:"querystring" locationName:"assessmentStatus" min:"1" type:"list" enum:"AssessmentStatus"`
+
+ // The current status of compliance for the resiliency policy.
+ ComplianceStatus *string `location:"querystring" locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
+
+ // Specifies the entity that invoked a specific assessment, either a User or
+ // the System.
+ Invoker *string `location:"querystring" locationName:"invoker" type:"string" enum:"AssessmentInvoker"`
- // The returned error message for the request.
- ErrorMessage *string `locationName:"errorMessage" min:"1" type:"string"`
+ // The maximum number of results to include in the response. If more results
+ // exist than the specified MaxResults value, a token is included in the response
+ // so that the remaining results can be retrieved.
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
- // The status of the action.
- //
- // Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`
+ // Null, or the token from a previous call to get the next set of results.
+ NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
- // The timestamp for when the status last changed.
- //
- // StatusChangeTime is a required field
- StatusChangeTime *time.Time `locationName:"statusChangeTime" type:"timestamp" required:"true"`
+ // The default is to sort by ascending startTime. To sort by descending startTime,
+ // set reverseOrder to true.
+ ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`
}
// String returns the string representation.
@@ -7413,7 +11069,7 @@ type DescribeDraftAppVersionResourcesImportStatusOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeDraftAppVersionResourcesImportStatusOutput) String() string {
+func (s ListAppAssessmentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -7422,99 +11078,86 @@ func (s DescribeDraftAppVersionResourcesImportStatusOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeDraftAppVersionResourcesImportStatusOutput) GoString() string {
+func (s ListAppAssessmentsInput) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListAppAssessmentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppAssessmentsInput"}
+ if s.AssessmentStatus != nil && len(s.AssessmentStatus) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("AssessmentStatus", 1))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
// SetAppArn sets the AppArn field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetAppArn(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
+func (s *ListAppAssessmentsInput) SetAppArn(v string) *ListAppAssessmentsInput {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetAppVersion(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
- s.AppVersion = &v
+// SetAssessmentName sets the AssessmentName field's value.
+func (s *ListAppAssessmentsInput) SetAssessmentName(v string) *ListAppAssessmentsInput {
+ s.AssessmentName = &v
return s
}
-// SetErrorMessage sets the ErrorMessage field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetErrorMessage(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
- s.ErrorMessage = &v
+// SetAssessmentStatus sets the AssessmentStatus field's value.
+func (s *ListAppAssessmentsInput) SetAssessmentStatus(v []*string) *ListAppAssessmentsInput {
+ s.AssessmentStatus = v
return s
}
-// SetStatus sets the Status field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetStatus(v string) *DescribeDraftAppVersionResourcesImportStatusOutput {
- s.Status = &v
+// SetComplianceStatus sets the ComplianceStatus field's value.
+func (s *ListAppAssessmentsInput) SetComplianceStatus(v string) *ListAppAssessmentsInput {
+ s.ComplianceStatus = &v
return s
}
-// SetStatusChangeTime sets the StatusChangeTime field's value.
-func (s *DescribeDraftAppVersionResourcesImportStatusOutput) SetStatusChangeTime(v time.Time) *DescribeDraftAppVersionResourcesImportStatusOutput {
- s.StatusChangeTime = &v
+// SetInvoker sets the Invoker field's value.
+func (s *ListAppAssessmentsInput) SetInvoker(v string) *ListAppAssessmentsInput {
+ s.Invoker = &v
return s
}
-type DescribeResiliencyPolicyInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // PolicyArn is a required field
- PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeResiliencyPolicyInput) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s DescribeResiliencyPolicyInput) GoString() string {
- return s.String()
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAppAssessmentsInput) SetMaxResults(v int64) *ListAppAssessmentsInput {
+ s.MaxResults = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *DescribeResiliencyPolicyInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "DescribeResiliencyPolicyInput"}
- if s.PolicyArn == nil {
- invalidParams.Add(request.NewErrParamRequired("PolicyArn"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppAssessmentsInput) SetNextToken(v string) *ListAppAssessmentsInput {
+ s.NextToken = &v
+ return s
}
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *DescribeResiliencyPolicyInput) SetPolicyArn(v string) *DescribeResiliencyPolicyInput {
- s.PolicyArn = &v
+// SetReverseOrder sets the ReverseOrder field's value.
+func (s *ListAppAssessmentsInput) SetReverseOrder(v bool) *ListAppAssessmentsInput {
+ s.ReverseOrder = &v
return s
}
-type DescribeResiliencyPolicyOutput struct {
+type ListAppAssessmentsOutput struct {
_ struct{} `type:"structure"`
- // Information about the specific resiliency policy, returned as an object.
- // This object includes creation time, data location constraints, its name,
- // description, tags, the recovery time objective (RTO) and recovery point objective
- // (RPO) in seconds, and more.
+ // The summaries for the specified assessments, returned as an object. This
+ // object includes application versions, associated Amazon Resource Numbers
+ // (ARNs), cost, messages, resiliency scores, and more.
//
- // Policy is a required field
- Policy *ResiliencyPolicy `locationName:"policy" type:"structure" required:"true"`
+ // AssessmentSummaries is a required field
+ AssessmentSummaries []*AppAssessmentSummary `locationName:"assessmentSummaries" type:"list" required:"true"`
+
+ // The token for the next set of results, or null if there are no more results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7522,7 +11165,7 @@ type DescribeResiliencyPolicyOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeResiliencyPolicyOutput) String() string {
+func (s ListAppAssessmentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7531,51 +11174,40 @@ func (s DescribeResiliencyPolicyOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DescribeResiliencyPolicyOutput) GoString() string {
+func (s ListAppAssessmentsOutput) GoString() string {
return s.String()
}
-// SetPolicy sets the Policy field's value.
-func (s *DescribeResiliencyPolicyOutput) SetPolicy(v *ResiliencyPolicy) *DescribeResiliencyPolicyOutput {
- s.Policy = v
+// SetAssessmentSummaries sets the AssessmentSummaries field's value.
+func (s *ListAppAssessmentsOutput) SetAssessmentSummaries(v []*AppAssessmentSummary) *ListAppAssessmentsOutput {
+ s.AssessmentSummaries = v
return s
}
-// Defines the compliance against the resiliency policy for a disruption.
-type DisruptionCompliance struct {
- _ struct{} `type:"structure"`
-
- // The Recovery Point Objective (RPO) that is achievable, in seconds.
- AchievableRpoInSecs *int64 `locationName:"achievableRpoInSecs" type:"integer"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppAssessmentsOutput) SetNextToken(v string) *ListAppAssessmentsOutput {
+ s.NextToken = &v
+ return s
+}
- // The Recovery Time Objective (RTO) that is achievable, in seconds
- AchievableRtoInSecs *int64 `locationName:"achievableRtoInSecs" type:"integer"`
+type ListAppComponentCompliancesInput struct {
+ _ struct{} `type:"structure"`
- // The current status of compliance for the resiliency policy.
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // ComplianceStatus is a required field
- ComplianceStatus *string `locationName:"complianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`
-
- // The current RPO, in seconds.
- CurrentRpoInSecs *int64 `locationName:"currentRpoInSecs" type:"integer"`
-
- // The current RTO, in seconds.
- CurrentRtoInSecs *int64 `locationName:"currentRtoInSecs" type:"integer"`
-
- // The disruption compliance message.
- Message *string `locationName:"message" min:"1" type:"string"`
-
- // The RPO description.
- RpoDescription *string `locationName:"rpoDescription" min:"1" type:"string"`
-
- // The RPO reference identifier.
- RpoReferenceId *string `locationName:"rpoReferenceId" min:"1" type:"string"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
- // The RTO description.
- RtoDescription *string `locationName:"rtoDescription" min:"1" type:"string"`
+ // The maximum number of results to include in the response. If more results
+ // exist than the specified MaxResults value, a token is included in the response
+ // so that the remaining results can be retrieved.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // The RTO reference identifier.
- RtoReferenceId *string `locationName:"rtoReferenceId" min:"1" type:"string"`
+ // Null, or the token from a previous call to get the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7583,7 +11215,7 @@ type DisruptionCompliance struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisruptionCompliance) String() string {
+func (s ListAppComponentCompliancesInput) String() string {
return awsutil.Prettify(s)
}
@@ -7592,83 +11224,56 @@ func (s DisruptionCompliance) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s DisruptionCompliance) GoString() string {
+func (s ListAppComponentCompliancesInput) GoString() string {
return s.String()
}
-// SetAchievableRpoInSecs sets the AchievableRpoInSecs field's value.
-func (s *DisruptionCompliance) SetAchievableRpoInSecs(v int64) *DisruptionCompliance {
- s.AchievableRpoInSecs = &v
- return s
-}
-
-// SetAchievableRtoInSecs sets the AchievableRtoInSecs field's value.
-func (s *DisruptionCompliance) SetAchievableRtoInSecs(v int64) *DisruptionCompliance {
- s.AchievableRtoInSecs = &v
- return s
-}
-
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *DisruptionCompliance) SetComplianceStatus(v string) *DisruptionCompliance {
- s.ComplianceStatus = &v
- return s
-}
-
-// SetCurrentRpoInSecs sets the CurrentRpoInSecs field's value.
-func (s *DisruptionCompliance) SetCurrentRpoInSecs(v int64) *DisruptionCompliance {
- s.CurrentRpoInSecs = &v
- return s
-}
-
-// SetCurrentRtoInSecs sets the CurrentRtoInSecs field's value.
-func (s *DisruptionCompliance) SetCurrentRtoInSecs(v int64) *DisruptionCompliance {
- s.CurrentRtoInSecs = &v
- return s
-}
-
-// SetMessage sets the Message field's value.
-func (s *DisruptionCompliance) SetMessage(v string) *DisruptionCompliance {
- s.Message = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListAppComponentCompliancesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppComponentCompliancesInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
-// SetRpoDescription sets the RpoDescription field's value.
-func (s *DisruptionCompliance) SetRpoDescription(v string) *DisruptionCompliance {
- s.RpoDescription = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetRpoReferenceId sets the RpoReferenceId field's value.
-func (s *DisruptionCompliance) SetRpoReferenceId(v string) *DisruptionCompliance {
- s.RpoReferenceId = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *ListAppComponentCompliancesInput) SetAssessmentArn(v string) *ListAppComponentCompliancesInput {
+ s.AssessmentArn = &v
return s
}
-// SetRtoDescription sets the RtoDescription field's value.
-func (s *DisruptionCompliance) SetRtoDescription(v string) *DisruptionCompliance {
- s.RtoDescription = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAppComponentCompliancesInput) SetMaxResults(v int64) *ListAppComponentCompliancesInput {
+ s.MaxResults = &v
return s
}
-// SetRtoReferenceId sets the RtoReferenceId field's value.
-func (s *DisruptionCompliance) SetRtoReferenceId(v string) *DisruptionCompliance {
- s.RtoReferenceId = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppComponentCompliancesInput) SetNextToken(v string) *ListAppComponentCompliancesInput {
+ s.NextToken = &v
return s
}
-// Defines a failure policy.
-type FailurePolicy struct {
+type ListAppComponentCompliancesOutput struct {
_ struct{} `type:"structure"`
- // The Recovery Point Objective (RPO), in seconds.
+ // The compliances for an AWS Resilience Hub Application Component, returned
+ // as an object. This object contains the names of the Application Components,
+ // compliances, costs, resiliency scores, outage scores, and more.
//
- // RpoInSecs is a required field
- RpoInSecs *int64 `locationName:"rpoInSecs" type:"integer" required:"true"`
+ // ComponentCompliances is a required field
+ ComponentCompliances []*AppComponentCompliance `locationName:"componentCompliances" type:"list" required:"true"`
- // The Recovery Time Objective (RTO), in seconds.
- //
- // RtoInSecs is a required field
- RtoInSecs *int64 `locationName:"rtoInSecs" type:"integer" required:"true"`
+ // The token for the next set of results, or null if there are no more results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7676,7 +11281,7 @@ type FailurePolicy struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FailurePolicy) String() string {
+func (s ListAppComponentCompliancesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7685,54 +11290,40 @@ func (s FailurePolicy) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s FailurePolicy) GoString() string {
+func (s ListAppComponentCompliancesOutput) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *FailurePolicy) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "FailurePolicy"}
- if s.RpoInSecs == nil {
- invalidParams.Add(request.NewErrParamRequired("RpoInSecs"))
- }
- if s.RtoInSecs == nil {
- invalidParams.Add(request.NewErrParamRequired("RtoInSecs"))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetRpoInSecs sets the RpoInSecs field's value.
-func (s *FailurePolicy) SetRpoInSecs(v int64) *FailurePolicy {
- s.RpoInSecs = &v
+// SetComponentCompliances sets the ComponentCompliances field's value.
+func (s *ListAppComponentCompliancesOutput) SetComponentCompliances(v []*AppComponentCompliance) *ListAppComponentCompliancesOutput {
+ s.ComponentCompliances = v
return s
}
-// SetRtoInSecs sets the RtoInSecs field's value.
-func (s *FailurePolicy) SetRtoInSecs(v int64) *FailurePolicy {
- s.RtoInSecs = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppComponentCompliancesOutput) SetNextToken(v string) *ListAppComponentCompliancesOutput {
+ s.NextToken = &v
return s
}
-type ImportResourcesToDraftAppVersionInput struct {
+type ListAppComponentRecommendationsInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
- // The Amazon Resource Names (ARNs) for the resources that you want to import.
- SourceArns []*string `locationName:"sourceArns" type:"list"`
+ // The maximum number of results to include in the response. If more results
+ // exist than the specified MaxResults value, a token is included in the response
+ // so that the remaining results can be retrieved.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A list of terraform file s3 URLs you need to import.
- TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
+ // Null, or the token from a previous call to get the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7740,7 +11331,7 @@ type ImportResourcesToDraftAppVersionInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportResourcesToDraftAppVersionInput) String() string {
+func (s ListAppComponentRecommendationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -7749,25 +11340,18 @@ func (s ImportResourcesToDraftAppVersionInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportResourcesToDraftAppVersionInput) GoString() string {
+func (s ListAppComponentRecommendationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ImportResourcesToDraftAppVersionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ImportResourcesToDraftAppVersionInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
+func (s *ListAppComponentRecommendationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppComponentRecommendationsInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
}
- if s.TerraformSources != nil {
- for i, v := range s.TerraformSources {
- if v == nil {
- continue
- }
- if err := v.Validate(); err != nil {
- invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TerraformSources", i), err.(request.ErrInvalidParams))
- }
- }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
if invalidParams.Len() > 0 {
@@ -7776,50 +11360,89 @@ func (s *ImportResourcesToDraftAppVersionInput) Validate() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *ImportResourcesToDraftAppVersionInput) SetAppArn(v string) *ImportResourcesToDraftAppVersionInput {
- s.AppArn = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *ListAppComponentRecommendationsInput) SetAssessmentArn(v string) *ListAppComponentRecommendationsInput {
+ s.AssessmentArn = &v
return s
}
-// SetSourceArns sets the SourceArns field's value.
-func (s *ImportResourcesToDraftAppVersionInput) SetSourceArns(v []*string) *ImportResourcesToDraftAppVersionInput {
- s.SourceArns = v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAppComponentRecommendationsInput) SetMaxResults(v int64) *ListAppComponentRecommendationsInput {
+ s.MaxResults = &v
return s
}
-// SetTerraformSources sets the TerraformSources field's value.
-func (s *ImportResourcesToDraftAppVersionInput) SetTerraformSources(v []*TerraformSource) *ImportResourcesToDraftAppVersionInput {
- s.TerraformSources = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppComponentRecommendationsInput) SetNextToken(v string) *ListAppComponentRecommendationsInput {
+ s.NextToken = &v
return s
}
-type ImportResourcesToDraftAppVersionOutput struct {
+type ListAppComponentRecommendationsOutput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The recommendations for an AWS Resilience Hub Application Component, returned
+ // as an object. This object contains the names of the Application Components,
+ // configuration recommendations, and recommendation statuses.
+ //
+ // ComponentRecommendations is a required field
+ ComponentRecommendations []*ComponentRecommendation `locationName:"componentRecommendations" type:"list" required:"true"`
+
+ // The token for the next set of results, or null if there are no more results.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListAppComponentRecommendationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListAppComponentRecommendationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetComponentRecommendations sets the ComponentRecommendations field's value.
+func (s *ListAppComponentRecommendationsOutput) SetComponentRecommendations(v []*ComponentRecommendation) *ListAppComponentRecommendationsOutput {
+ s.ComponentRecommendations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppComponentRecommendationsOutput) SetNextToken(v string) *ListAppComponentRecommendationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListAppInputSourcesInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The version of the application.
+ // The AWS Resilience Hub application version.
//
// AppVersion is a required field
AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
- // The Amazon Resource Names (ARNs) for the resources that you imported.
- SourceArns []*string `locationName:"sourceArns" type:"list"`
-
- // The status of the action.
- //
- // Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceImportStatusType"`
+ // Maximum number of input sources to be displayed per AWS Resilience Hub application.
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
- // A list of terraform file s3 URLs you need to import.
- TerraformSources []*TerraformSource `locationName:"terraformSources" type:"list"`
+ // Null, or the token from a previous call to get the next set of results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7827,7 +11450,7 @@ type ImportResourcesToDraftAppVersionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportResourcesToDraftAppVersionOutput) String() string {
+func (s ListAppInputSourcesInput) String() string {
return awsutil.Prettify(s)
}
@@ -7836,47 +11459,63 @@ func (s ImportResourcesToDraftAppVersionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ImportResourcesToDraftAppVersionOutput) GoString() string {
+func (s ListAppInputSourcesInput) GoString() string {
return s.String()
}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListAppInputSourcesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppInputSourcesInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+ }
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
// SetAppArn sets the AppArn field's value.
-func (s *ImportResourcesToDraftAppVersionOutput) SetAppArn(v string) *ImportResourcesToDraftAppVersionOutput {
+func (s *ListAppInputSourcesInput) SetAppArn(v string) *ListAppInputSourcesInput {
s.AppArn = &v
return s
}
// SetAppVersion sets the AppVersion field's value.
-func (s *ImportResourcesToDraftAppVersionOutput) SetAppVersion(v string) *ImportResourcesToDraftAppVersionOutput {
+func (s *ListAppInputSourcesInput) SetAppVersion(v string) *ListAppInputSourcesInput {
s.AppVersion = &v
return s
}
-// SetSourceArns sets the SourceArns field's value.
-func (s *ImportResourcesToDraftAppVersionOutput) SetSourceArns(v []*string) *ImportResourcesToDraftAppVersionOutput {
- s.SourceArns = v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAppInputSourcesInput) SetMaxResults(v int64) *ListAppInputSourcesInput {
+ s.MaxResults = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *ImportResourcesToDraftAppVersionOutput) SetStatus(v string) *ImportResourcesToDraftAppVersionOutput {
- s.Status = &v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppInputSourcesInput) SetNextToken(v string) *ListAppInputSourcesInput {
+ s.NextToken = &v
return s
}
-// SetTerraformSources sets the TerraformSources field's value.
-func (s *ImportResourcesToDraftAppVersionOutput) SetTerraformSources(v []*TerraformSource) *ImportResourcesToDraftAppVersionOutput {
- s.TerraformSources = v
- return s
-}
+type ListAppInputSourcesOutput struct {
+ _ struct{} `type:"structure"`
-// This exception occurs when there is an internal failure in the AWS Resilience
-// Hub service.
-type InternalServerException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // The list of AWS Resilience Hub application input sources.
+ //
+ // AppInputSources is a required field
+ AppInputSources []*AppInputSource `locationName:"appInputSources" type:"list" required:"true"`
- Message_ *string `locationName:"message" min:"1" type:"string"`
+ // The token for the next set of results, or null if there are no more results.
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -7884,7 +11523,7 @@ type InternalServerException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) String() string {
+func (s ListAppInputSourcesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -7893,62 +11532,40 @@ func (s InternalServerException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s InternalServerException) GoString() string {
+func (s ListAppInputSourcesOutput) GoString() string {
return s.String()
}
-
-func newErrorInternalServerException(v protocol.ResponseMetadata) error {
- return &InternalServerException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *InternalServerException) Code() string {
- return "InternalServerException"
-}
-
-// Message returns the exception's message.
-func (s *InternalServerException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *InternalServerException) OrigErr() error {
- return nil
-}
-
-func (s *InternalServerException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *InternalServerException) StatusCode() int {
- return s.RespMetadata.StatusCode
+
+// SetAppInputSources sets the AppInputSources field's value.
+func (s *ListAppInputSourcesOutput) SetAppInputSources(v []*AppInputSource) *ListAppInputSourcesOutput {
+ s.AppInputSources = v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *InternalServerException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppInputSourcesOutput) SetNextToken(v string) *ListAppInputSourcesOutput {
+ s.NextToken = &v
+ return s
}
-type ListAlarmRecommendationsInput struct {
+type ListAppVersionAppComponentsInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The maximum number of results to include in the response. If more results
- // exist than the specified MaxResults value, a token is included in the response
- // so that the remaining results can be retrieved.
+ // The version of the Application Component.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Maximum number of Application Components to be displayed per AWS Resilience
+ // Hub application version.
MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// Null, or the token from a previous call to get the next set of results.
@@ -7960,7 +11577,7 @@ type ListAlarmRecommendationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAlarmRecommendationsInput) String() string {
+func (s ListAppVersionAppComponentsInput) String() string {
return awsutil.Prettify(s)
}
@@ -7969,15 +11586,18 @@ func (s ListAlarmRecommendationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAlarmRecommendationsInput) GoString() string {
+func (s ListAppVersionAppComponentsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAlarmRecommendationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAlarmRecommendationsInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+func (s *ListAppVersionAppComponentsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppVersionAppComponentsInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -7989,34 +11609,48 @@ func (s *ListAlarmRecommendationsInput) Validate() error {
return nil
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListAlarmRecommendationsInput) SetAssessmentArn(v string) *ListAlarmRecommendationsInput {
- s.AssessmentArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *ListAppVersionAppComponentsInput) SetAppArn(v string) *ListAppVersionAppComponentsInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *ListAppVersionAppComponentsInput) SetAppVersion(v string) *ListAppVersionAppComponentsInput {
+ s.AppVersion = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAlarmRecommendationsInput) SetMaxResults(v int64) *ListAlarmRecommendationsInput {
+func (s *ListAppVersionAppComponentsInput) SetMaxResults(v int64) *ListAppVersionAppComponentsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAlarmRecommendationsInput) SetNextToken(v string) *ListAlarmRecommendationsInput {
+func (s *ListAppVersionAppComponentsInput) SetNextToken(v string) *ListAppVersionAppComponentsInput {
s.NextToken = &v
return s
}
-type ListAlarmRecommendationsOutput struct {
+type ListAppVersionAppComponentsOutput struct {
_ struct{} `type:"structure"`
- // The alarm recommendations for an AWS Resilience Hub application, returned
- // as an object. This object includes application component names, descriptions,
- // information about whether a recommendation has already been implemented or
- // not, prerequisites, and more.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AlarmRecommendations is a required field
- AlarmRecommendations []*AlarmRecommendation `locationName:"alarmRecommendations" type:"list" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Defines an Application Component.
+ AppComponents []*AppComponent `locationName:"appComponents" type:"list"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
@@ -8027,7 +11661,7 @@ type ListAlarmRecommendationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAlarmRecommendationsOutput) String() string {
+func (s ListAppVersionAppComponentsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8036,55 +11670,57 @@ func (s ListAlarmRecommendationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAlarmRecommendationsOutput) GoString() string {
+func (s ListAppVersionAppComponentsOutput) GoString() string {
return s.String()
}
-// SetAlarmRecommendations sets the AlarmRecommendations field's value.
-func (s *ListAlarmRecommendationsOutput) SetAlarmRecommendations(v []*AlarmRecommendation) *ListAlarmRecommendationsOutput {
- s.AlarmRecommendations = v
+// SetAppArn sets the AppArn field's value.
+func (s *ListAppVersionAppComponentsOutput) SetAppArn(v string) *ListAppVersionAppComponentsOutput {
+ s.AppArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAlarmRecommendationsOutput) SetNextToken(v string) *ListAlarmRecommendationsOutput {
- s.NextToken = &v
+// SetAppComponents sets the AppComponents field's value.
+func (s *ListAppVersionAppComponentsOutput) SetAppComponents(v []*AppComponent) *ListAppVersionAppComponentsOutput {
+ s.AppComponents = v
return s
}
-type ListAppAssessmentsInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `location:"querystring" locationName:"appArn" type:"string"`
+// SetAppVersion sets the AppVersion field's value.
+func (s *ListAppVersionAppComponentsOutput) SetAppVersion(v string) *ListAppVersionAppComponentsOutput {
+ s.AppVersion = &v
+ return s
+}
- // The name for the assessment.
- AssessmentName *string `location:"querystring" locationName:"assessmentName" type:"string"`
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppVersionAppComponentsOutput) SetNextToken(v string) *ListAppVersionAppComponentsOutput {
+ s.NextToken = &v
+ return s
+}
- // The current status of the assessment for the resiliency policy.
- AssessmentStatus []*string `location:"querystring" locationName:"assessmentStatus" min:"1" type:"list" enum:"AssessmentStatus"`
+type ListAppVersionResourceMappingsInput struct {
+ _ struct{} `type:"structure"`
- // The current status of compliance for the resiliency policy.
- ComplianceStatus *string `location:"querystring" locationName:"complianceStatus" type:"string" enum:"ComplianceStatus"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // Specifies the entity that invoked a specific assessment, either a User or
- // the System.
- Invoker *string `location:"querystring" locationName:"invoker" type:"string" enum:"AssessmentInvoker"`
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
-
- // The default is to sort by ascending startTime. To sort by descending startTime,
- // set reverseOrder to true.
- ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -8092,7 +11728,7 @@ type ListAppAssessmentsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppAssessmentsInput) String() string {
+func (s ListAppVersionResourceMappingsInput) String() string {
return awsutil.Prettify(s)
}
@@ -8101,15 +11737,18 @@ func (s ListAppAssessmentsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppAssessmentsInput) GoString() string {
+func (s ListAppVersionResourceMappingsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppAssessmentsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppAssessmentsInput"}
- if s.AssessmentStatus != nil && len(s.AssessmentStatus) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("AssessmentStatus", 1))
+func (s *ListAppVersionResourceMappingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppVersionResourceMappingsInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -8122,65 +11761,43 @@ func (s *ListAppAssessmentsInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *ListAppAssessmentsInput) SetAppArn(v string) *ListAppAssessmentsInput {
+func (s *ListAppVersionResourceMappingsInput) SetAppArn(v string) *ListAppVersionResourceMappingsInput {
s.AppArn = &v
return s
}
-// SetAssessmentName sets the AssessmentName field's value.
-func (s *ListAppAssessmentsInput) SetAssessmentName(v string) *ListAppAssessmentsInput {
- s.AssessmentName = &v
- return s
-}
-
-// SetAssessmentStatus sets the AssessmentStatus field's value.
-func (s *ListAppAssessmentsInput) SetAssessmentStatus(v []*string) *ListAppAssessmentsInput {
- s.AssessmentStatus = v
- return s
-}
-
-// SetComplianceStatus sets the ComplianceStatus field's value.
-func (s *ListAppAssessmentsInput) SetComplianceStatus(v string) *ListAppAssessmentsInput {
- s.ComplianceStatus = &v
- return s
-}
-
-// SetInvoker sets the Invoker field's value.
-func (s *ListAppAssessmentsInput) SetInvoker(v string) *ListAppAssessmentsInput {
- s.Invoker = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *ListAppVersionResourceMappingsInput) SetAppVersion(v string) *ListAppVersionResourceMappingsInput {
+ s.AppVersion = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppAssessmentsInput) SetMaxResults(v int64) *ListAppAssessmentsInput {
+func (s *ListAppVersionResourceMappingsInput) SetMaxResults(v int64) *ListAppVersionResourceMappingsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppAssessmentsInput) SetNextToken(v string) *ListAppAssessmentsInput {
+func (s *ListAppVersionResourceMappingsInput) SetNextToken(v string) *ListAppVersionResourceMappingsInput {
s.NextToken = &v
return s
}
-// SetReverseOrder sets the ReverseOrder field's value.
-func (s *ListAppAssessmentsInput) SetReverseOrder(v bool) *ListAppAssessmentsInput {
- s.ReverseOrder = &v
- return s
-}
-
-type ListAppAssessmentsOutput struct {
+type ListAppVersionResourceMappingsOutput struct {
_ struct{} `type:"structure"`
- // The summaries for the specified assessments, returned as an object. This
- // object includes application versions, associated Amazon Resource Numbers
- // (ARNs), cost, messages, resiliency scores, and more.
- //
- // AssessmentSummaries is a required field
- AssessmentSummaries []*AppAssessmentSummary `locationName:"assessmentSummaries" type:"list" required:"true"`
-
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
+
+ // Mappings used to map logical resources from the template to physical resources.
+ // You can use the mapping type CFN_STACK if the application template uses a
+ // logical stack name. Or you can map individual resources by using the mapping
+ // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
+ // is backed by a CloudFormation stack.
+ //
+ // ResourceMappings is a required field
+ ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8188,7 +11805,7 @@ type ListAppAssessmentsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppAssessmentsOutput) String() string {
+func (s ListAppVersionResourceMappingsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8197,32 +11814,37 @@ func (s ListAppAssessmentsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppAssessmentsOutput) GoString() string {
+func (s ListAppVersionResourceMappingsOutput) GoString() string {
return s.String()
}
-// SetAssessmentSummaries sets the AssessmentSummaries field's value.
-func (s *ListAppAssessmentsOutput) SetAssessmentSummaries(v []*AppAssessmentSummary) *ListAppAssessmentsOutput {
- s.AssessmentSummaries = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppVersionResourceMappingsOutput) SetNextToken(v string) *ListAppVersionResourceMappingsOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppAssessmentsOutput) SetNextToken(v string) *ListAppAssessmentsOutput {
- s.NextToken = &v
+// SetResourceMappings sets the ResourceMappings field's value.
+func (s *ListAppVersionResourceMappingsOutput) SetResourceMappings(v []*ResourceMapping) *ListAppVersionResourceMappingsOutput {
+ s.ResourceMappings = v
return s
}
-type ListAppComponentCompliancesInput struct {
+type ListAppVersionResourcesInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
@@ -8231,6 +11853,9 @@ type ListAppComponentCompliancesInput struct {
// Null, or the token from a previous call to get the next set of results.
NextToken *string `locationName:"nextToken" type:"string"`
+
+ // The identifier for a specific resolution.
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -8238,7 +11863,7 @@ type ListAppComponentCompliancesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentCompliancesInput) String() string {
+func (s ListAppVersionResourcesInput) String() string {
return awsutil.Prettify(s)
}
@@ -8247,19 +11872,25 @@ func (s ListAppComponentCompliancesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentCompliancesInput) GoString() string {
+func (s ListAppVersionResourcesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppComponentCompliancesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppComponentCompliancesInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+func (s *ListAppVersionResourcesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppVersionResourcesInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
+ if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -8267,36 +11898,51 @@ func (s *ListAppComponentCompliancesInput) Validate() error {
return nil
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListAppComponentCompliancesInput) SetAssessmentArn(v string) *ListAppComponentCompliancesInput {
- s.AssessmentArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *ListAppVersionResourcesInput) SetAppArn(v string) *ListAppVersionResourcesInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *ListAppVersionResourcesInput) SetAppVersion(v string) *ListAppVersionResourcesInput {
+ s.AppVersion = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppComponentCompliancesInput) SetMaxResults(v int64) *ListAppComponentCompliancesInput {
+func (s *ListAppVersionResourcesInput) SetMaxResults(v int64) *ListAppVersionResourcesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppComponentCompliancesInput) SetNextToken(v string) *ListAppComponentCompliancesInput {
+func (s *ListAppVersionResourcesInput) SetNextToken(v string) *ListAppVersionResourcesInput {
s.NextToken = &v
return s
}
-type ListAppComponentCompliancesOutput struct {
+// SetResolutionId sets the ResolutionId field's value.
+func (s *ListAppVersionResourcesInput) SetResolutionId(v string) *ListAppVersionResourcesInput {
+ s.ResolutionId = &v
+ return s
+}
+
+type ListAppVersionResourcesOutput struct {
_ struct{} `type:"structure"`
- // The compliances for an AWS Resilience Hub application component, returned
- // as an object. This object contains component names, compliances, costs, resiliency
- // scores, outage scores, and more.
- //
- // ComponentCompliances is a required field
- ComponentCompliances []*AppComponentCompliance `locationName:"componentCompliances" type:"list" required:"true"`
-
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
+
+ // The physical resources in the application version.
+ //
+ // PhysicalResources is a required field
+ PhysicalResources []*PhysicalResource `locationName:"physicalResources" type:"list" required:"true"`
+
+ // The ID for a specific resolution.
+ //
+ // ResolutionId is a required field
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -8304,7 +11950,7 @@ type ListAppComponentCompliancesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentCompliancesOutput) String() string {
+func (s ListAppVersionResourcesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8313,32 +11959,38 @@ func (s ListAppComponentCompliancesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentCompliancesOutput) GoString() string {
+func (s ListAppVersionResourcesOutput) GoString() string {
return s.String()
}
-// SetComponentCompliances sets the ComponentCompliances field's value.
-func (s *ListAppComponentCompliancesOutput) SetComponentCompliances(v []*AppComponentCompliance) *ListAppComponentCompliancesOutput {
- s.ComponentCompliances = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppVersionResourcesOutput) SetNextToken(v string) *ListAppVersionResourcesOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppComponentCompliancesOutput) SetNextToken(v string) *ListAppComponentCompliancesOutput {
- s.NextToken = &v
+// SetPhysicalResources sets the PhysicalResources field's value.
+func (s *ListAppVersionResourcesOutput) SetPhysicalResources(v []*PhysicalResource) *ListAppVersionResourcesOutput {
+ s.PhysicalResources = v
return s
}
-type ListAppComponentRecommendationsInput struct {
+// SetResolutionId sets the ResolutionId field's value.
+func (s *ListAppVersionResourcesOutput) SetResolutionId(v string) *ListAppVersionResourcesOutput {
+ s.ResolutionId = &v
+ return s
+}
+
+type ListAppVersionsInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
@@ -8354,7 +12006,7 @@ type ListAppComponentRecommendationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentRecommendationsInput) String() string {
+func (s ListAppVersionsInput) String() string {
return awsutil.Prettify(s)
}
@@ -8363,15 +12015,15 @@ func (s ListAppComponentRecommendationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentRecommendationsInput) GoString() string {
+func (s ListAppVersionsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppComponentRecommendationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppComponentRecommendationsInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+func (s *ListAppVersionsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppVersionsInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
@@ -8383,33 +12035,31 @@ func (s *ListAppComponentRecommendationsInput) Validate() error {
return nil
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListAppComponentRecommendationsInput) SetAssessmentArn(v string) *ListAppComponentRecommendationsInput {
- s.AssessmentArn = &v
+// SetAppArn sets the AppArn field's value.
+func (s *ListAppVersionsInput) SetAppArn(v string) *ListAppVersionsInput {
+ s.AppArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppComponentRecommendationsInput) SetMaxResults(v int64) *ListAppComponentRecommendationsInput {
+func (s *ListAppVersionsInput) SetMaxResults(v int64) *ListAppVersionsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppComponentRecommendationsInput) SetNextToken(v string) *ListAppComponentRecommendationsInput {
+func (s *ListAppVersionsInput) SetNextToken(v string) *ListAppVersionsInput {
s.NextToken = &v
return s
}
-type ListAppComponentRecommendationsOutput struct {
+type ListAppVersionsOutput struct {
_ struct{} `type:"structure"`
- // The recommendations for an Resilience Hub application component, returned
- // as an object. This object contains component names, configuration recommendations,
- // and recommendation statuses.
+ // The version of the application.
//
- // ComponentRecommendations is a required field
- ComponentRecommendations []*ComponentRecommendation `locationName:"componentRecommendations" type:"list" required:"true"`
+ // AppVersions is a required field
+ AppVersions []*AppVersionSummary `locationName:"appVersions" type:"list" required:"true"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
@@ -8420,7 +12070,7 @@ type ListAppComponentRecommendationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentRecommendationsOutput) String() string {
+func (s ListAppVersionsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8429,45 +12079,41 @@ func (s ListAppComponentRecommendationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppComponentRecommendationsOutput) GoString() string {
+func (s ListAppVersionsOutput) GoString() string {
return s.String()
}
-// SetComponentRecommendations sets the ComponentRecommendations field's value.
-func (s *ListAppComponentRecommendationsOutput) SetComponentRecommendations(v []*ComponentRecommendation) *ListAppComponentRecommendationsOutput {
- s.ComponentRecommendations = v
+// SetAppVersions sets the AppVersions field's value.
+func (s *ListAppVersionsOutput) SetAppVersions(v []*AppVersionSummary) *ListAppVersionsOutput {
+ s.AppVersions = v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppComponentRecommendationsOutput) SetNextToken(v string) *ListAppComponentRecommendationsOutput {
+func (s *ListAppVersionsOutput) SetNextToken(v string) *ListAppVersionsOutput {
s.NextToken = &v
return s
}
-type ListAppVersionResourceMappingsInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+type ListAppsInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `location:"querystring" locationName:"appArn" type:"string"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
+
+ // The name for the one of the listed applications.
+ Name *string `location:"querystring" locationName:"name" type:"string"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `locationName:"nextToken" type:"string"`
+ NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -8475,7 +12121,7 @@ type ListAppVersionResourceMappingsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourceMappingsInput) String() string {
+func (s ListAppsInput) String() string {
return awsutil.Prettify(s)
}
@@ -8484,19 +12130,13 @@ func (s ListAppVersionResourceMappingsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourceMappingsInput) GoString() string {
+func (s ListAppsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppVersionResourceMappingsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppVersionResourceMappingsInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
- }
+func (s *ListAppsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -8508,43 +12148,39 @@ func (s *ListAppVersionResourceMappingsInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *ListAppVersionResourceMappingsInput) SetAppArn(v string) *ListAppVersionResourceMappingsInput {
+func (s *ListAppsInput) SetAppArn(v string) *ListAppsInput {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *ListAppVersionResourceMappingsInput) SetAppVersion(v string) *ListAppVersionResourceMappingsInput {
- s.AppVersion = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
+ s.MaxResults = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppVersionResourceMappingsInput) SetMaxResults(v int64) *ListAppVersionResourceMappingsInput {
- s.MaxResults = &v
+// SetName sets the Name field's value.
+func (s *ListAppsInput) SetName(v string) *ListAppsInput {
+ s.Name = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionResourceMappingsInput) SetNextToken(v string) *ListAppVersionResourceMappingsInput {
+func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
s.NextToken = &v
return s
}
-type ListAppVersionResourceMappingsOutput struct {
+type ListAppsOutput struct {
_ struct{} `type:"structure"`
+ // Summaries for the AWS Resilience Hub application.
+ //
+ // AppSummaries is a required field
+ AppSummaries []*AppSummary `locationName:"appSummaries" type:"list" required:"true"`
+
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
-
- // Mappings used to map logical resources from the template to physical resources.
- // You can use the mapping type CFN_STACK if the application template uses a
- // logical stack name. Or you can map individual resources by using the mapping
- // type RESOURCE. We recommend using the mapping type CFN_STACK if the application
- // is backed by a CloudFormation stack.
- //
- // ResourceMappings is a required field
- ResourceMappings []*ResourceMapping `locationName:"resourceMappings" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8552,7 +12188,7 @@ type ListAppVersionResourceMappingsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourceMappingsOutput) String() string {
+func (s ListAppsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8561,48 +12197,53 @@ func (s ListAppVersionResourceMappingsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourceMappingsOutput) GoString() string {
+func (s ListAppsOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionResourceMappingsOutput) SetNextToken(v string) *ListAppVersionResourceMappingsOutput {
- s.NextToken = &v
+// SetAppSummaries sets the AppSummaries field's value.
+func (s *ListAppsOutput) SetAppSummaries(v []*AppSummary) *ListAppsOutput {
+ s.AppSummaries = v
return s
}
-// SetResourceMappings sets the ResourceMappings field's value.
-func (s *ListAppVersionResourceMappingsOutput) SetResourceMappings(v []*ResourceMapping) *ListAppVersionResourceMappingsOutput {
- s.ResourceMappings = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
+ s.NextToken = &v
return s
}
-type ListAppVersionResourcesInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+type ListRecommendationTemplatesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
- // The version of the application.
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `location:"querystring" locationName:"assessmentArn" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
+
+ // The name for one of the listed recommendation templates.
+ Name *string `location:"querystring" locationName:"name" type:"string"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `locationName:"nextToken" type:"string"`
+ NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
- // The identifier for a specific resolution.
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) for a recommendation template.
+ RecommendationTemplateArn *string `location:"querystring" locationName:"recommendationTemplateArn" type:"string"`
+
+ // The default is to sort by ascending startTime. To sort by descending startTime,
+ // set reverseOrder to true.
+ ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`
+
+ // The status of the action.
+ Status []*string `location:"querystring" locationName:"status" min:"1" type:"list" enum:"RecommendationTemplateStatus"`
}
// String returns the string representation.
@@ -8610,7 +12251,7 @@ type ListAppVersionResourcesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourcesInput) String() string {
+func (s ListRecommendationTemplatesInput) String() string {
return awsutil.Prettify(s)
}
@@ -8619,24 +12260,21 @@ func (s ListAppVersionResourcesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourcesInput) GoString() string {
+func (s ListRecommendationTemplatesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppVersionResourcesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppVersionResourcesInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+func (s *ListRecommendationTemplatesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListRecommendationTemplatesInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
+ if s.Status != nil && len(s.Status) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Status", 1))
}
if invalidParams.Len() > 0 {
@@ -8645,51 +12283,56 @@ func (s *ListAppVersionResourcesInput) Validate() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *ListAppVersionResourcesInput) SetAppArn(v string) *ListAppVersionResourcesInput {
- s.AppArn = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *ListRecommendationTemplatesInput) SetAssessmentArn(v string) *ListRecommendationTemplatesInput {
+ s.AssessmentArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *ListAppVersionResourcesInput) SetAppVersion(v string) *ListAppVersionResourcesInput {
- s.AppVersion = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListRecommendationTemplatesInput) SetMaxResults(v int64) *ListRecommendationTemplatesInput {
+ s.MaxResults = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppVersionResourcesInput) SetMaxResults(v int64) *ListAppVersionResourcesInput {
- s.MaxResults = &v
+// SetName sets the Name field's value.
+func (s *ListRecommendationTemplatesInput) SetName(v string) *ListRecommendationTemplatesInput {
+ s.Name = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListRecommendationTemplatesInput) SetNextToken(v string) *ListRecommendationTemplatesInput {
+ s.NextToken = &v
+ return s
+}
+
+// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
+func (s *ListRecommendationTemplatesInput) SetRecommendationTemplateArn(v string) *ListRecommendationTemplatesInput {
+ s.RecommendationTemplateArn = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionResourcesInput) SetNextToken(v string) *ListAppVersionResourcesInput {
- s.NextToken = &v
+// SetReverseOrder sets the ReverseOrder field's value.
+func (s *ListRecommendationTemplatesInput) SetReverseOrder(v bool) *ListRecommendationTemplatesInput {
+ s.ReverseOrder = &v
return s
}
-// SetResolutionId sets the ResolutionId field's value.
-func (s *ListAppVersionResourcesInput) SetResolutionId(v string) *ListAppVersionResourcesInput {
- s.ResolutionId = &v
+// SetStatus sets the Status field's value.
+func (s *ListRecommendationTemplatesInput) SetStatus(v []*string) *ListRecommendationTemplatesInput {
+ s.Status = v
return s
}
-type ListAppVersionResourcesOutput struct {
+type ListRecommendationTemplatesOutput struct {
_ struct{} `type:"structure"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
- // The physical resources in the application version.
- //
- // PhysicalResources is a required field
- PhysicalResources []*PhysicalResource `locationName:"physicalResources" type:"list" required:"true"`
-
- // The identifier for a specific resolution.
- //
- // ResolutionId is a required field
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+ // The recommendation templates for the AWS Resilience Hub applications.
+ RecommendationTemplates []*RecommendationTemplate `locationName:"recommendationTemplates" type:"list"`
}
// String returns the string representation.
@@ -8697,7 +12340,7 @@ type ListAppVersionResourcesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourcesOutput) String() string {
+func (s ListRecommendationTemplatesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8706,46 +12349,35 @@ func (s ListAppVersionResourcesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionResourcesOutput) GoString() string {
+func (s ListRecommendationTemplatesOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionResourcesOutput) SetNextToken(v string) *ListAppVersionResourcesOutput {
+func (s *ListRecommendationTemplatesOutput) SetNextToken(v string) *ListRecommendationTemplatesOutput {
s.NextToken = &v
return s
}
-// SetPhysicalResources sets the PhysicalResources field's value.
-func (s *ListAppVersionResourcesOutput) SetPhysicalResources(v []*PhysicalResource) *ListAppVersionResourcesOutput {
- s.PhysicalResources = v
- return s
-}
-
-// SetResolutionId sets the ResolutionId field's value.
-func (s *ListAppVersionResourcesOutput) SetResolutionId(v string) *ListAppVersionResourcesOutput {
- s.ResolutionId = &v
+// SetRecommendationTemplates sets the RecommendationTemplates field's value.
+func (s *ListRecommendationTemplatesOutput) SetRecommendationTemplates(v []*RecommendationTemplate) *ListRecommendationTemplatesOutput {
+ s.RecommendationTemplates = v
return s
}
-type ListAppVersionsInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+type ListResiliencyPoliciesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `locationName:"nextToken" type:"string"`
+ NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
+
+ // The name of the policy
+ PolicyName *string `location:"querystring" locationName:"policyName" type:"string"`
}
// String returns the string representation.
@@ -8753,7 +12385,7 @@ type ListAppVersionsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionsInput) String() string {
+func (s ListResiliencyPoliciesInput) String() string {
return awsutil.Prettify(s)
}
@@ -8762,16 +12394,13 @@ func (s ListAppVersionsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionsInput) GoString() string {
+func (s ListResiliencyPoliciesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppVersionsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppVersionsInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
+func (s *ListResiliencyPoliciesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListResiliencyPoliciesInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -8782,34 +12411,34 @@ func (s *ListAppVersionsInput) Validate() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *ListAppVersionsInput) SetAppArn(v string) *ListAppVersionsInput {
- s.AppArn = &v
- return s
-}
-
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppVersionsInput) SetMaxResults(v int64) *ListAppVersionsInput {
+func (s *ListResiliencyPoliciesInput) SetMaxResults(v int64) *ListResiliencyPoliciesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionsInput) SetNextToken(v string) *ListAppVersionsInput {
+func (s *ListResiliencyPoliciesInput) SetNextToken(v string) *ListResiliencyPoliciesInput {
s.NextToken = &v
return s
}
-type ListAppVersionsOutput struct {
- _ struct{} `type:"structure"`
+// SetPolicyName sets the PolicyName field's value.
+func (s *ListResiliencyPoliciesInput) SetPolicyName(v string) *ListResiliencyPoliciesInput {
+ s.PolicyName = &v
+ return s
+}
- // The version of the application.
- //
- // AppVersions is a required field
- AppVersions []*AppVersionSummary `locationName:"appVersions" type:"list" required:"true"`
+type ListResiliencyPoliciesOutput struct {
+ _ struct{} `type:"structure"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
+
+ // The resiliency policies for the AWS Resilience Hub applications.
+ //
+ // ResiliencyPolicies is a required field
+ ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8817,7 +12446,7 @@ type ListAppVersionsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionsOutput) String() string {
+func (s ListResiliencyPoliciesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8826,41 +12455,40 @@ func (s ListAppVersionsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppVersionsOutput) GoString() string {
+func (s ListResiliencyPoliciesOutput) GoString() string {
return s.String()
}
-// SetAppVersions sets the AppVersions field's value.
-func (s *ListAppVersionsOutput) SetAppVersions(v []*AppVersionSummary) *ListAppVersionsOutput {
- s.AppVersions = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListResiliencyPoliciesOutput) SetNextToken(v string) *ListResiliencyPoliciesOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppVersionsOutput) SetNextToken(v string) *ListAppVersionsOutput {
- s.NextToken = &v
+// SetResiliencyPolicies sets the ResiliencyPolicies field's value.
+func (s *ListResiliencyPoliciesOutput) SetResiliencyPolicies(v []*ResiliencyPolicy) *ListResiliencyPoliciesOutput {
+ s.ResiliencyPolicies = v
return s
}
-type ListAppsInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+type ListSopRecommendationsInput struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `location:"querystring" locationName:"appArn" type:"string"`
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
-
- // The name for the one of the listed applications.
- Name *string `location:"querystring" locationName:"name" type:"string"`
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
+ NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
@@ -8868,7 +12496,7 @@ type ListAppsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppsInput) String() string {
+func (s ListSopRecommendationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -8877,13 +12505,16 @@ func (s ListAppsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppsInput) GoString() string {
+func (s ListSopRecommendationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListAppsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
+func (s *ListSopRecommendationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSopRecommendationsInput"}
+ if s.AssessmentArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
+ }
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
@@ -8894,40 +12525,35 @@ func (s *ListAppsInput) Validate() error {
return nil
}
-// SetAppArn sets the AppArn field's value.
-func (s *ListAppsInput) SetAppArn(v string) *ListAppsInput {
- s.AppArn = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *ListSopRecommendationsInput) SetAssessmentArn(v string) *ListSopRecommendationsInput {
+ s.AssessmentArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
+func (s *ListSopRecommendationsInput) SetMaxResults(v int64) *ListSopRecommendationsInput {
s.MaxResults = &v
return s
}
-// SetName sets the Name field's value.
-func (s *ListAppsInput) SetName(v string) *ListAppsInput {
- s.Name = &v
- return s
-}
-
// SetNextToken sets the NextToken field's value.
-func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
+func (s *ListSopRecommendationsInput) SetNextToken(v string) *ListSopRecommendationsInput {
s.NextToken = &v
return s
}
-type ListAppsOutput struct {
+type ListSopRecommendationsOutput struct {
_ struct{} `type:"structure"`
- // Summaries for the Resilience Hub application.
- //
- // AppSummaries is a required field
- AppSummaries []*AppSummary `locationName:"appSummaries" type:"list" required:"true"`
-
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
+
+ // The standard operating procedure (SOP) recommendations for the AWS Resilience
+ // Hub applications.
+ //
+ // SopRecommendations is a required field
+ SopRecommendations []*SopRecommendation `locationName:"sopRecommendations" type:"list" required:"true"`
}
// String returns the string representation.
@@ -8935,7 +12561,7 @@ type ListAppsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppsOutput) String() string {
+func (s ListSopRecommendationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -8944,53 +12570,32 @@ func (s ListAppsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListAppsOutput) GoString() string {
+func (s ListSopRecommendationsOutput) GoString() string {
return s.String()
}
-// SetAppSummaries sets the AppSummaries field's value.
-func (s *ListAppsOutput) SetAppSummaries(v []*AppSummary) *ListAppsOutput {
- s.AppSummaries = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListSopRecommendationsOutput) SetNextToken(v string) *ListSopRecommendationsOutput {
+ s.NextToken = &v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
- s.NextToken = &v
+// SetSopRecommendations sets the SopRecommendations field's value.
+func (s *ListSopRecommendationsOutput) SetSopRecommendations(v []*SopRecommendation) *ListSopRecommendationsOutput {
+ s.SopRecommendations = v
return s
}
-type ListRecommendationTemplatesInput struct {
+type ListSuggestedResiliencyPoliciesInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AssessmentArn is a required field
- AssessmentArn *string `location:"querystring" locationName:"assessmentArn" type:"string" required:"true"`
-
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
- // The name for one of the listed recommendation templates.
- Name *string `location:"querystring" locationName:"name" type:"string"`
-
// Null, or the token from a previous call to get the next set of results.
NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
-
- // The Amazon Resource Name (ARN) for a recommendation template.
- RecommendationTemplateArn *string `location:"querystring" locationName:"recommendationTemplateArn" type:"string"`
-
- // The default is to sort by ascending startTime. To sort by descending startTime,
- // set reverseOrder to true.
- ReverseOrder *bool `location:"querystring" locationName:"reverseOrder" type:"boolean"`
-
- // The status of the action.
- Status []*string `location:"querystring" locationName:"status" min:"1" type:"list" enum:"RecommendationTemplateStatus"`
}
// String returns the string representation.
@@ -8998,7 +12603,7 @@ type ListRecommendationTemplatesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListRecommendationTemplatesInput) String() string {
+func (s ListSuggestedResiliencyPoliciesInput) String() string {
return awsutil.Prettify(s)
}
@@ -9007,79 +12612,45 @@ func (s ListRecommendationTemplatesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListRecommendationTemplatesInput) GoString() string {
+func (s ListSuggestedResiliencyPoliciesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListRecommendationTemplatesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListRecommendationTemplatesInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
- }
+func (s *ListSuggestedResiliencyPoliciesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSuggestedResiliencyPoliciesInput"}
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
- if s.Status != nil && len(s.Status) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Status", 1))
- }
-
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
-}
-
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListRecommendationTemplatesInput) SetAssessmentArn(v string) *ListRecommendationTemplatesInput {
- s.AssessmentArn = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListRecommendationTemplatesInput) SetMaxResults(v int64) *ListRecommendationTemplatesInput {
- s.MaxResults = &v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *ListRecommendationTemplatesInput) SetName(v string) *ListRecommendationTemplatesInput {
- s.Name = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListRecommendationTemplatesInput) SetNextToken(v string) *ListRecommendationTemplatesInput {
- s.NextToken = &v
- return s
-}
-
-// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
-func (s *ListRecommendationTemplatesInput) SetRecommendationTemplateArn(v string) *ListRecommendationTemplatesInput {
- s.RecommendationTemplateArn = &v
- return s
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetReverseOrder sets the ReverseOrder field's value.
-func (s *ListRecommendationTemplatesInput) SetReverseOrder(v bool) *ListRecommendationTemplatesInput {
- s.ReverseOrder = &v
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSuggestedResiliencyPoliciesInput) SetMaxResults(v int64) *ListSuggestedResiliencyPoliciesInput {
+ s.MaxResults = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *ListRecommendationTemplatesInput) SetStatus(v []*string) *ListRecommendationTemplatesInput {
- s.Status = v
+// SetNextToken sets the NextToken field's value.
+func (s *ListSuggestedResiliencyPoliciesInput) SetNextToken(v string) *ListSuggestedResiliencyPoliciesInput {
+ s.NextToken = &v
return s
}
-type ListRecommendationTemplatesOutput struct {
+type ListSuggestedResiliencyPoliciesOutput struct {
_ struct{} `type:"structure"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
- // The recommendation templates for the Resilience Hub applications.
- RecommendationTemplates []*RecommendationTemplate `locationName:"recommendationTemplates" type:"list"`
+ // The suggested resiliency policies for the AWS Resilience Hub applications.
+ //
+ // ResiliencyPolicies is a required field
+ ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9087,7 +12658,7 @@ type ListRecommendationTemplatesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListRecommendationTemplatesOutput) String() string {
+func (s ListSuggestedResiliencyPoliciesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9096,35 +12667,30 @@ func (s ListRecommendationTemplatesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListRecommendationTemplatesOutput) GoString() string {
+func (s ListSuggestedResiliencyPoliciesOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
-func (s *ListRecommendationTemplatesOutput) SetNextToken(v string) *ListRecommendationTemplatesOutput {
+func (s *ListSuggestedResiliencyPoliciesOutput) SetNextToken(v string) *ListSuggestedResiliencyPoliciesOutput {
s.NextToken = &v
return s
}
-// SetRecommendationTemplates sets the RecommendationTemplates field's value.
-func (s *ListRecommendationTemplatesOutput) SetRecommendationTemplates(v []*RecommendationTemplate) *ListRecommendationTemplatesOutput {
- s.RecommendationTemplates = v
+// SetResiliencyPolicies sets the ResiliencyPolicies field's value.
+func (s *ListSuggestedResiliencyPoliciesOutput) SetResiliencyPolicies(v []*ResiliencyPolicy) *ListSuggestedResiliencyPoliciesOutput {
+ s.ResiliencyPolicies = v
return s
}
-type ListResiliencyPoliciesInput struct {
+type ListTagsForResourceInput struct {
_ struct{} `type:"structure" nopayload:"true"`
- // The maximum number of results to include in the response. If more results
- // exist than the specified MaxResults value, a token is included in the response
- // so that the remaining results can be retrieved.
- MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
-
- // Null, or the token from a previous call to get the next set of results.
- NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
-
- // The name of the policy
- PolicyName *string `location:"querystring" locationName:"policyName" type:"string"`
+ // The Amazon Resource Name (ARN) for a specific resource in your AWS Resilience
+ // Hub application.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9132,7 +12698,7 @@ type ListResiliencyPoliciesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListResiliencyPoliciesInput) String() string {
+func (s ListTagsForResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -9141,15 +12707,18 @@ func (s ListResiliencyPoliciesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListResiliencyPoliciesInput) GoString() string {
+func (s ListTagsForResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListResiliencyPoliciesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListResiliencyPoliciesInput"}
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
}
if invalidParams.Len() > 0 {
@@ -9158,34 +12727,22 @@ func (s *ListResiliencyPoliciesInput) Validate() error {
return nil
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListResiliencyPoliciesInput) SetMaxResults(v int64) *ListResiliencyPoliciesInput {
- s.MaxResults = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListResiliencyPoliciesInput) SetNextToken(v string) *ListResiliencyPoliciesInput {
- s.NextToken = &v
- return s
-}
-
-// SetPolicyName sets the PolicyName field's value.
-func (s *ListResiliencyPoliciesInput) SetPolicyName(v string) *ListResiliencyPoliciesInput {
- s.PolicyName = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
return s
}
-type ListResiliencyPoliciesOutput struct {
+type ListTagsForResourceOutput struct {
_ struct{} `type:"structure"`
- // The token for the next set of results, or null if there are no more results.
- NextToken *string `locationName:"nextToken" type:"string"`
-
- // The resiliency policies for the Resilience Hub applications.
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
//
- // ResiliencyPolicies is a required field
- ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ListTagsForResourceOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
}
// String returns the string representation.
@@ -9193,7 +12750,7 @@ type ListResiliencyPoliciesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListResiliencyPoliciesOutput) String() string {
+func (s ListTagsForResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9202,29 +12759,23 @@ func (s ListResiliencyPoliciesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListResiliencyPoliciesOutput) GoString() string {
+func (s ListTagsForResourceOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListResiliencyPoliciesOutput) SetNextToken(v string) *ListResiliencyPoliciesOutput {
- s.NextToken = &v
- return s
-}
-
-// SetResiliencyPolicies sets the ResiliencyPolicies field's value.
-func (s *ListResiliencyPoliciesOutput) SetResiliencyPolicies(v []*ResiliencyPolicy) *ListResiliencyPoliciesOutput {
- s.ResiliencyPolicies = v
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
+ s.Tags = v
return s
}
-type ListSopRecommendationsInput struct {
+type ListTestRecommendationsInput struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the assessment. The format for this ARN
// is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
// more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // in the AWS General Reference guide.
//
// AssessmentArn is a required field
AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
@@ -9243,7 +12794,7 @@ type ListSopRecommendationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSopRecommendationsInput) String() string {
+func (s ListTestRecommendationsInput) String() string {
return awsutil.Prettify(s)
}
@@ -9252,13 +12803,13 @@ func (s ListSopRecommendationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSopRecommendationsInput) GoString() string {
+func (s ListTestRecommendationsInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListSopRecommendationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListSopRecommendationsInput"}
+func (s *ListTestRecommendationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTestRecommendationsInput"}
if s.AssessmentArn == nil {
invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
}
@@ -9273,34 +12824,33 @@ func (s *ListSopRecommendationsInput) Validate() error {
}
// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListSopRecommendationsInput) SetAssessmentArn(v string) *ListSopRecommendationsInput {
+func (s *ListTestRecommendationsInput) SetAssessmentArn(v string) *ListTestRecommendationsInput {
s.AssessmentArn = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
-func (s *ListSopRecommendationsInput) SetMaxResults(v int64) *ListSopRecommendationsInput {
+func (s *ListTestRecommendationsInput) SetMaxResults(v int64) *ListTestRecommendationsInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListSopRecommendationsInput) SetNextToken(v string) *ListSopRecommendationsInput {
+func (s *ListTestRecommendationsInput) SetNextToken(v string) *ListTestRecommendationsInput {
s.NextToken = &v
return s
}
-type ListSopRecommendationsOutput struct {
+type ListTestRecommendationsOutput struct {
_ struct{} `type:"structure"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
- // The standard operating procedure (SOP) recommendations for the Resilience
- // Hub applications.
+ // The test recommendations for the AWS Resilience Hub application.
//
- // SopRecommendations is a required field
- SopRecommendations []*SopRecommendation `locationName:"sopRecommendations" type:"list" required:"true"`
+ // TestRecommendations is a required field
+ TestRecommendations []*TestRecommendation `locationName:"testRecommendations" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9308,7 +12858,7 @@ type ListSopRecommendationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSopRecommendationsOutput) String() string {
+func (s ListTestRecommendationsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9317,32 +12867,48 @@ func (s ListSopRecommendationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSopRecommendationsOutput) GoString() string {
+func (s ListTestRecommendationsOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
-func (s *ListSopRecommendationsOutput) SetNextToken(v string) *ListSopRecommendationsOutput {
+func (s *ListTestRecommendationsOutput) SetNextToken(v string) *ListTestRecommendationsOutput {
s.NextToken = &v
return s
}
-// SetSopRecommendations sets the SopRecommendations field's value.
-func (s *ListSopRecommendationsOutput) SetSopRecommendations(v []*SopRecommendation) *ListSopRecommendationsOutput {
- s.SopRecommendations = v
+// SetTestRecommendations sets the TestRecommendations field's value.
+func (s *ListTestRecommendationsOutput) SetTestRecommendations(v []*TestRecommendation) *ListTestRecommendationsOutput {
+ s.TestRecommendations = v
return s
}
-type ListSuggestedResiliencyPoliciesInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+type ListUnsupportedAppVersionResourcesInput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
// The maximum number of results to include in the response. If more results
// exist than the specified MaxResults value, a token is included in the response
// so that the remaining results can be retrieved.
- MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`
+ MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
// Null, or the token from a previous call to get the next set of results.
- NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
+ NextToken *string `locationName:"nextToken" type:"string"`
+
+ // The identifier for a specific resolution.
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -9350,7 +12916,7 @@ type ListSuggestedResiliencyPoliciesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSuggestedResiliencyPoliciesInput) String() string {
+func (s ListUnsupportedAppVersionResourcesInput) String() string {
return awsutil.Prettify(s)
}
@@ -9359,16 +12925,25 @@ func (s ListSuggestedResiliencyPoliciesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSuggestedResiliencyPoliciesInput) GoString() string {
+func (s ListUnsupportedAppVersionResourcesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListSuggestedResiliencyPoliciesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListSuggestedResiliencyPoliciesInput"}
+func (s *ListUnsupportedAppVersionResourcesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListUnsupportedAppVersionResourcesInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+ }
if s.MaxResults != nil && *s.MaxResults < 1 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
}
+ if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -9376,28 +12951,51 @@ func (s *ListSuggestedResiliencyPoliciesInput) Validate() error {
return nil
}
+// SetAppArn sets the AppArn field's value.
+func (s *ListUnsupportedAppVersionResourcesInput) SetAppArn(v string) *ListUnsupportedAppVersionResourcesInput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *ListUnsupportedAppVersionResourcesInput) SetAppVersion(v string) *ListUnsupportedAppVersionResourcesInput {
+ s.AppVersion = &v
+ return s
+}
+
// SetMaxResults sets the MaxResults field's value.
-func (s *ListSuggestedResiliencyPoliciesInput) SetMaxResults(v int64) *ListSuggestedResiliencyPoliciesInput {
+func (s *ListUnsupportedAppVersionResourcesInput) SetMaxResults(v int64) *ListUnsupportedAppVersionResourcesInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
-func (s *ListSuggestedResiliencyPoliciesInput) SetNextToken(v string) *ListSuggestedResiliencyPoliciesInput {
+func (s *ListUnsupportedAppVersionResourcesInput) SetNextToken(v string) *ListUnsupportedAppVersionResourcesInput {
s.NextToken = &v
return s
}
-type ListSuggestedResiliencyPoliciesOutput struct {
+// SetResolutionId sets the ResolutionId field's value.
+func (s *ListUnsupportedAppVersionResourcesInput) SetResolutionId(v string) *ListUnsupportedAppVersionResourcesInput {
+ s.ResolutionId = &v
+ return s
+}
+
+type ListUnsupportedAppVersionResourcesOutput struct {
_ struct{} `type:"structure"`
// The token for the next set of results, or null if there are no more results.
NextToken *string `locationName:"nextToken" type:"string"`
- // The suggested resiliency policies for the Resilience Hub applications.
+ // The identifier for a specific resolution.
//
- // ResiliencyPolicies is a required field
- ResiliencyPolicies []*ResiliencyPolicy `locationName:"resiliencyPolicies" type:"list" required:"true"`
+ // ResolutionId is a required field
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+
+ // The unsupported resources for the application.
+ //
+ // UnsupportedResources is a required field
+ UnsupportedResources []*UnsupportedResource `locationName:"unsupportedResources" type:"list" required:"true"`
}
// String returns the string representation.
@@ -9405,7 +13003,7 @@ type ListSuggestedResiliencyPoliciesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSuggestedResiliencyPoliciesOutput) String() string {
+func (s ListUnsupportedAppVersionResourcesOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9414,30 +13012,45 @@ func (s ListSuggestedResiliencyPoliciesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListSuggestedResiliencyPoliciesOutput) GoString() string {
+func (s ListUnsupportedAppVersionResourcesOutput) GoString() string {
return s.String()
}
// SetNextToken sets the NextToken field's value.
-func (s *ListSuggestedResiliencyPoliciesOutput) SetNextToken(v string) *ListSuggestedResiliencyPoliciesOutput {
+func (s *ListUnsupportedAppVersionResourcesOutput) SetNextToken(v string) *ListUnsupportedAppVersionResourcesOutput {
s.NextToken = &v
return s
}
-// SetResiliencyPolicies sets the ResiliencyPolicies field's value.
-func (s *ListSuggestedResiliencyPoliciesOutput) SetResiliencyPolicies(v []*ResiliencyPolicy) *ListSuggestedResiliencyPoliciesOutput {
- s.ResiliencyPolicies = v
+// SetResolutionId sets the ResolutionId field's value.
+func (s *ListUnsupportedAppVersionResourcesOutput) SetResolutionId(v string) *ListUnsupportedAppVersionResourcesOutput {
+ s.ResolutionId = &v
return s
}
-type ListTagsForResourceInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+// SetUnsupportedResources sets the UnsupportedResources field's value.
+func (s *ListUnsupportedAppVersionResourcesOutput) SetUnsupportedResources(v []*UnsupportedResource) *ListUnsupportedAppVersionResourcesOutput {
+ s.UnsupportedResources = v
+ return s
+}
- // The Amazon Resource Name (ARN) for a specific resource in your Resilience
- // Hub application.
+// Defines a logical resource identifier.
+type LogicalResourceId struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the resource.
//
- // ResourceArn is a required field
- ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
+ // Identifier is a required field
+ Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`
+
+ // The name of the CloudFormation stack this resource belongs to.
+ LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`
+
+ // The name of the resource group that this resource belongs to.
+ ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`
+
+ // The name of the Terraform S3 state file this resource belongs to.
+ TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
}
// String returns the string representation.
@@ -9445,7 +13058,7 @@ type ListTagsForResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) String() string {
+func (s LogicalResourceId) String() string {
return awsutil.Prettify(s)
}
@@ -9454,18 +13067,24 @@ func (s ListTagsForResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTagsForResourceInput) GoString() string {
+func (s LogicalResourceId) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTagsForResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+func (s *LogicalResourceId) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "LogicalResourceId"}
+ if s.Identifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("Identifier"))
}
- if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ if s.Identifier != nil && len(*s.Identifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Identifier", 1))
+ }
+ if s.LogicalStackName != nil && len(*s.LogicalStackName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LogicalStackName", 1))
+ }
+ if s.TerraformSourceName != nil && len(*s.TerraformSourceName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TerraformSourceName", 1))
}
if invalidParams.Len() > 0 {
@@ -9474,66 +13093,69 @@ func (s *ListTagsForResourceInput) Validate() error {
return nil
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
- s.ResourceArn = &v
+// SetIdentifier sets the Identifier field's value.
+func (s *LogicalResourceId) SetIdentifier(v string) *LogicalResourceId {
+ s.Identifier = &v
return s
}
-type ListTagsForResourceOutput struct {
- _ struct{} `type:"structure"`
-
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by ListTagsForResourceOutput's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) String() string {
- return awsutil.Prettify(s)
+// SetLogicalStackName sets the LogicalStackName field's value.
+func (s *LogicalResourceId) SetLogicalStackName(v string) *LogicalResourceId {
+ s.LogicalStackName = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ListTagsForResourceOutput) GoString() string {
- return s.String()
+// SetResourceGroupName sets the ResourceGroupName field's value.
+func (s *LogicalResourceId) SetResourceGroupName(v string) *LogicalResourceId {
+ s.ResourceGroupName = &v
+ return s
}
-// SetTags sets the Tags field's value.
-func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
- s.Tags = v
+// SetTerraformSourceName sets the TerraformSourceName field's value.
+func (s *LogicalResourceId) SetTerraformSourceName(v string) *LogicalResourceId {
+ s.TerraformSourceName = &v
return s
}
-type ListTestRecommendationsInput struct {
+// Defines a physical resource. A physical resource is a resource that exists
+// in your account. It can be identified using an Amazon Resource Name (ARN)
+// or an AWS Resilience Hub-native identifier.
+type PhysicalResource struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // Additional configuration parameters for an AWS Resilience Hub application.
//
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
+ // Currently, this parameter accepts a key-value mapping (in a string format)
+ // of only one failover region and one associated account.
+ //
+ // Key: "failover-regions"
+ //
+ // Value: "[{"region":"", "accounts":[{"id":""}]}]"
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
- // The maximum number of results to include in the response. If more results
- // exist than the specified MaxResults value, a token is included in the response
- // so that the remaining results can be retrieved.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
+ // The application components that belong to this resource.
+ AppComponents []*AppComponent `locationName:"appComponents" type:"list"`
- // Null, or the token from a previous call to get the next set of results.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // Indicates if a resource is included or excluded from the assessment.
+ Excluded *bool `locationName:"excluded" type:"boolean"`
+
+ // The logical identifier of the resource.
+ //
+ // LogicalResourceId is a required field
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`
+
+ // The physical identifier of the resource.
+ //
+ // PhysicalResourceId is a required field
+ PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
+
+ // The name of the resource.
+ ResourceName *string `locationName:"resourceName" type:"string"`
+
+ // The type of resource.
+ //
+ // ResourceType is a required field
+ ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9541,7 +13163,7 @@ type ListTestRecommendationsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTestRecommendationsInput) String() string {
+func (s PhysicalResource) String() string {
return awsutil.Prettify(s)
}
@@ -9550,54 +13172,79 @@ func (s ListTestRecommendationsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTestRecommendationsInput) GoString() string {
+func (s PhysicalResource) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListTestRecommendationsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListTestRecommendationsInput"}
- if s.AssessmentArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentArn"))
- }
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *PhysicalResource) SetAdditionalInfo(v map[string][]*string) *PhysicalResource {
+ s.AdditionalInfo = v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetAppComponents sets the AppComponents field's value.
+func (s *PhysicalResource) SetAppComponents(v []*AppComponent) *PhysicalResource {
+ s.AppComponents = v
+ return s
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *ListTestRecommendationsInput) SetAssessmentArn(v string) *ListTestRecommendationsInput {
- s.AssessmentArn = &v
+// SetExcluded sets the Excluded field's value.
+func (s *PhysicalResource) SetExcluded(v bool) *PhysicalResource {
+ s.Excluded = &v
return s
}
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListTestRecommendationsInput) SetMaxResults(v int64) *ListTestRecommendationsInput {
- s.MaxResults = &v
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *PhysicalResource) SetLogicalResourceId(v *LogicalResourceId) *PhysicalResource {
+ s.LogicalResourceId = v
return s
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListTestRecommendationsInput) SetNextToken(v string) *ListTestRecommendationsInput {
- s.NextToken = &v
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *PhysicalResource) SetPhysicalResourceId(v *PhysicalResourceId) *PhysicalResource {
+ s.PhysicalResourceId = v
return s
}
-type ListTestRecommendationsOutput struct {
+// SetResourceName sets the ResourceName field's value.
+func (s *PhysicalResource) SetResourceName(v string) *PhysicalResource {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *PhysicalResource) SetResourceType(v string) *PhysicalResource {
+ s.ResourceType = &v
+ return s
+}
+
+// Defines a physical resource identifier.
+type PhysicalResourceId struct {
_ struct{} `type:"structure"`
- // The token for the next set of results, or null if there are no more results.
- NextToken *string `locationName:"nextToken" type:"string"`
+ // The Amazon Web Services account that owns the physical resource.
+ AwsAccountId *string `locationName:"awsAccountId" type:"string"`
+
+ // The Amazon Web Services Region that the physical resource is located in.
+ AwsRegion *string `locationName:"awsRegion" type:"string"`
- // The test recommendations for the Resilience Hub application.
+ // The identifier of the physical resource.
//
- // TestRecommendations is a required field
- TestRecommendations []*TestRecommendation `locationName:"testRecommendations" type:"list" required:"true"`
+ // Identifier is a required field
+ Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`
+
+ // Specifies the type of physical resource identifier.
+ //
+ // Arn
+ //
+ // The resource identifier is an Amazon Resource Name (ARN) .
+ //
+ // Native
+ //
+ // The resource identifier is an AWS Resilience Hub-native identifier.
+ //
+ // Type is a required field
+ Type *string `locationName:"type" type:"string" required:"true" enum:"PhysicalIdentifierType"`
}
// String returns the string representation.
@@ -9605,7 +13252,7 @@ type ListTestRecommendationsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTestRecommendationsOutput) String() string {
+func (s PhysicalResourceId) String() string {
return awsutil.Prettify(s)
}
@@ -9614,48 +13261,63 @@ func (s ListTestRecommendationsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListTestRecommendationsOutput) GoString() string {
+func (s PhysicalResourceId) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListTestRecommendationsOutput) SetNextToken(v string) *ListTestRecommendationsOutput {
- s.NextToken = &v
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PhysicalResourceId) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PhysicalResourceId"}
+ if s.Identifier == nil {
+ invalidParams.Add(request.NewErrParamRequired("Identifier"))
+ }
+ if s.Identifier != nil && len(*s.Identifier) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Identifier", 1))
+ }
+ if s.Type == nil {
+ invalidParams.Add(request.NewErrParamRequired("Type"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *PhysicalResourceId) SetAwsAccountId(v string) *PhysicalResourceId {
+ s.AwsAccountId = &v
return s
}
-// SetTestRecommendations sets the TestRecommendations field's value.
-func (s *ListTestRecommendationsOutput) SetTestRecommendations(v []*TestRecommendation) *ListTestRecommendationsOutput {
- s.TestRecommendations = v
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *PhysicalResourceId) SetAwsRegion(v string) *PhysicalResourceId {
+ s.AwsRegion = &v
return s
}
-type ListUnsupportedAppVersionResourcesInput struct {
+// SetIdentifier sets the Identifier field's value.
+func (s *PhysicalResourceId) SetIdentifier(v string) *PhysicalResourceId {
+ s.Identifier = &v
+ return s
+}
+
+// SetType sets the Type field's value.
+func (s *PhysicalResourceId) SetType(v string) *PhysicalResourceId {
+ s.Type = &v
+ return s
+}
+
+type PublishAppVersionInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
-
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
-
- // The maximum number of results to include in the response. If more results
- // exist than the specified MaxResults value, a token is included in the response
- // so that the remaining results can be retrieved.
- MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
-
- // Null, or the token from a previous call to get the next set of results.
- NextToken *string `locationName:"nextToken" type:"string"`
-
- // The identifier for a specific resolution.
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string"`
}
// String returns the string representation.
@@ -9663,7 +13325,7 @@ type ListUnsupportedAppVersionResourcesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListUnsupportedAppVersionResourcesInput) String() string {
+func (s PublishAppVersionInput) String() string {
return awsutil.Prettify(s)
}
@@ -9672,25 +13334,16 @@ func (s ListUnsupportedAppVersionResourcesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListUnsupportedAppVersionResourcesInput) GoString() string {
+func (s PublishAppVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ListUnsupportedAppVersionResourcesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ListUnsupportedAppVersionResourcesInput"}
+func (s *PublishAppVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PublishAppVersionInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
- }
- if s.MaxResults != nil && *s.MaxResults < 1 {
- invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
- }
- if s.ResolutionId != nil && len(*s.ResolutionId) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResolutionId", 1))
- }
if invalidParams.Len() > 0 {
return invalidParams
@@ -9699,50 +13352,24 @@ func (s *ListUnsupportedAppVersionResourcesInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *ListUnsupportedAppVersionResourcesInput) SetAppArn(v string) *ListUnsupportedAppVersionResourcesInput {
+func (s *PublishAppVersionInput) SetAppArn(v string) *PublishAppVersionInput {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *ListUnsupportedAppVersionResourcesInput) SetAppVersion(v string) *ListUnsupportedAppVersionResourcesInput {
- s.AppVersion = &v
- return s
-}
-
-// SetMaxResults sets the MaxResults field's value.
-func (s *ListUnsupportedAppVersionResourcesInput) SetMaxResults(v int64) *ListUnsupportedAppVersionResourcesInput {
- s.MaxResults = &v
- return s
-}
-
-// SetNextToken sets the NextToken field's value.
-func (s *ListUnsupportedAppVersionResourcesInput) SetNextToken(v string) *ListUnsupportedAppVersionResourcesInput {
- s.NextToken = &v
- return s
-}
-
-// SetResolutionId sets the ResolutionId field's value.
-func (s *ListUnsupportedAppVersionResourcesInput) SetResolutionId(v string) *ListUnsupportedAppVersionResourcesInput {
- s.ResolutionId = &v
- return s
-}
-
-type ListUnsupportedAppVersionResourcesOutput struct {
+type PublishAppVersionOutput struct {
_ struct{} `type:"structure"`
- // The token for the next set of results, or null if there are no more results.
- NextToken *string `locationName:"nextToken" type:"string"`
-
- // The identifier for a specific resolution.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // ResolutionId is a required field
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The unsupported resources for the application.
- //
- // UnsupportedResources is a required field
- UnsupportedResources []*UnsupportedResource `locationName:"unsupportedResources" type:"list" required:"true"`
+ // The version of the application.
+ AppVersion *string `locationName:"appVersion" type:"string"`
}
// String returns the string representation.
@@ -9750,7 +13377,7 @@ type ListUnsupportedAppVersionResourcesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListUnsupportedAppVersionResourcesOutput) String() string {
+func (s PublishAppVersionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9759,45 +13386,79 @@ func (s ListUnsupportedAppVersionResourcesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ListUnsupportedAppVersionResourcesOutput) GoString() string {
+func (s PublishAppVersionOutput) GoString() string {
return s.String()
}
-// SetNextToken sets the NextToken field's value.
-func (s *ListUnsupportedAppVersionResourcesOutput) SetNextToken(v string) *ListUnsupportedAppVersionResourcesOutput {
- s.NextToken = &v
- return s
-}
-
-// SetResolutionId sets the ResolutionId field's value.
-func (s *ListUnsupportedAppVersionResourcesOutput) SetResolutionId(v string) *ListUnsupportedAppVersionResourcesOutput {
- s.ResolutionId = &v
+// SetAppArn sets the AppArn field's value.
+func (s *PublishAppVersionOutput) SetAppArn(v string) *PublishAppVersionOutput {
+ s.AppArn = &v
return s
}
-// SetUnsupportedResources sets the UnsupportedResources field's value.
-func (s *ListUnsupportedAppVersionResourcesOutput) SetUnsupportedResources(v []*UnsupportedResource) *ListUnsupportedAppVersionResourcesOutput {
- s.UnsupportedResources = v
+// SetAppVersion sets the AppVersion field's value.
+func (s *PublishAppVersionOutput) SetAppVersion(v string) *PublishAppVersionOutput {
+ s.AppVersion = &v
return s
}
-// Defines a logical resource identifier.
-type LogicalResourceId struct {
+type PutDraftAppVersionTemplateInput struct {
_ struct{} `type:"structure"`
- // The identifier of the resource.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // Identifier is a required field
- Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`
-
- // The name of the CloudFormation stack this resource belongs to.
- LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`
-
- // The name of the resource group that this resource belongs to.
- ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The name of the Terraform S3 state file this resource belongs to.
- TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
+ // A JSON string that provides information about your application structure.
+ // To learn more about the appTemplateBody template, see the sample template
+ // provided in the Examples section.
+ //
+ // The appTemplateBody JSON string has the following structure:
+ //
+ // * resources The list of logical resources that needs to be included in
+ // the application. Type: Array Don't add the resources that you want to
+ // exclude. Each resources array item includes the following fields: logicalResourceId
+ // The logical identifier of the resource. Type: Object Each logicalResourceId
+ // object includes the following fields: identifier The identifier of the
+ // resource. Type: String logicalStackName The name of the CloudFormation
+ // stack this resource belongs to. Type: String resourceGroupName The name
+ // of the resource group this resource belongs to. Type: String terraformSourceName
+ // The name of the Terraform S3 state file this resource belongs to. Type:
+ // String type The type of resource. Type: string name The name of the resource.
+ // Type: String
+ //
+ // * appComponents The list of Application Components that this resource
+ // belongs to. If an Application Component is not part of the AWS Resilience
+ // Hub application, it will be added. Type: Array Each appComponents array
+ // item includes the following fields: name The name of the Application Component.
+ // Type: String type The type of Application Component. For more information
+ // about the types of Application Component, see Grouping resources in an
+ // AppComponent (https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html).
+ // Type: String resourceNames The list of included resources that are assigned
+ // to the Application Component. Type: Array of strings additionalInfo Additional
+ // configuration parameters for an AWS Resilience Hub application. Currently,
+ // this parameter accepts a key-value mapping (in a string format) of only
+ // one failover region and one associated account. Key: "failover-regions"
+ // Value: "[{"region":"", "accounts":[{"id":""}]}]"
+ //
+ // * excludedResources The list of logical resource identifiers to be excluded
+ // from the application. Type: Array Don't add the resources that you want
+ // to include. Each excludedResources array item includes the following fields:
+ // logicalResourceIds The logical identifier of the resource. Type: Object
+ // You can configure only one of the following fields: logicalStackName resourceGroupName
+ // terraformSourceName Each logicalResourceIds object includes the following
+ // fields: identifier The identifier of the resource. Type: String logicalStackName
+ // The name of the CloudFormation stack this resource belongs to. Type: String
+ // resourceGroupName The name of the resource group this resource belongs
+ // to. Type: String terraformSourceName The name of the Terraform S3 state
+ // file this resource belongs to. Type: String
+ //
+ // AppTemplateBody is a required field
+ AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`
}
// String returns the string representation.
@@ -9805,7 +13466,7 @@ type LogicalResourceId struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LogicalResourceId) String() string {
+func (s PutDraftAppVersionTemplateInput) String() string {
return awsutil.Prettify(s)
}
@@ -9814,60 +13475,49 @@ func (s LogicalResourceId) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s LogicalResourceId) GoString() string {
+func (s PutDraftAppVersionTemplateInput) GoString() string {
return s.String()
}
-// SetIdentifier sets the Identifier field's value.
-func (s *LogicalResourceId) SetIdentifier(v string) *LogicalResourceId {
- s.Identifier = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutDraftAppVersionTemplateInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutDraftAppVersionTemplateInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.AppTemplateBody == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppTemplateBody"))
+ }
-// SetLogicalStackName sets the LogicalStackName field's value.
-func (s *LogicalResourceId) SetLogicalStackName(v string) *LogicalResourceId {
- s.LogicalStackName = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetResourceGroupName sets the ResourceGroupName field's value.
-func (s *LogicalResourceId) SetResourceGroupName(v string) *LogicalResourceId {
- s.ResourceGroupName = &v
+// SetAppArn sets the AppArn field's value.
+func (s *PutDraftAppVersionTemplateInput) SetAppArn(v string) *PutDraftAppVersionTemplateInput {
+ s.AppArn = &v
return s
}
-// SetTerraformSourceName sets the TerraformSourceName field's value.
-func (s *LogicalResourceId) SetTerraformSourceName(v string) *LogicalResourceId {
- s.TerraformSourceName = &v
+// SetAppTemplateBody sets the AppTemplateBody field's value.
+func (s *PutDraftAppVersionTemplateInput) SetAppTemplateBody(v string) *PutDraftAppVersionTemplateInput {
+ s.AppTemplateBody = &v
return s
}
-// Defines a physical resource. A physical resource is a resource that exists
-// in your account. It can be identified using an Amazon Resource Name (ARN)
-// or a Resilience Hub-native identifier.
-type PhysicalResource struct {
+type PutDraftAppVersionTemplateOutput struct {
_ struct{} `type:"structure"`
- // The application components that belong to this resource.
- AppComponents []*AppComponent `locationName:"appComponents" type:"list"`
-
- // The logical identifier of the resource.
- //
- // LogicalResourceId is a required field
- LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`
-
- // The physical identifier of the resource.
- //
- // PhysicalResourceId is a required field
- PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
-
- // The name of the resource.
- ResourceName *string `locationName:"resourceName" type:"string"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
- // The type of resource.
- //
- // ResourceType is a required field
- ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
+ // The version of the application.
+ AppVersion *string `locationName:"appVersion" type:"string"`
}
// String returns the string representation.
@@ -9875,7 +13525,7 @@ type PhysicalResource struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhysicalResource) String() string {
+func (s PutDraftAppVersionTemplateOutput) String() string {
return awsutil.Prettify(s)
}
@@ -9884,67 +13534,45 @@ func (s PhysicalResource) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhysicalResource) GoString() string {
+func (s PutDraftAppVersionTemplateOutput) GoString() string {
return s.String()
}
-// SetAppComponents sets the AppComponents field's value.
-func (s *PhysicalResource) SetAppComponents(v []*AppComponent) *PhysicalResource {
- s.AppComponents = v
- return s
-}
-
-// SetLogicalResourceId sets the LogicalResourceId field's value.
-func (s *PhysicalResource) SetLogicalResourceId(v *LogicalResourceId) *PhysicalResource {
- s.LogicalResourceId = v
- return s
-}
-
-// SetPhysicalResourceId sets the PhysicalResourceId field's value.
-func (s *PhysicalResource) SetPhysicalResourceId(v *PhysicalResourceId) *PhysicalResource {
- s.PhysicalResourceId = v
- return s
-}
-
-// SetResourceName sets the ResourceName field's value.
-func (s *PhysicalResource) SetResourceName(v string) *PhysicalResource {
- s.ResourceName = &v
+// SetAppArn sets the AppArn field's value.
+func (s *PutDraftAppVersionTemplateOutput) SetAppArn(v string) *PutDraftAppVersionTemplateOutput {
+ s.AppArn = &v
return s
}
-// SetResourceType sets the ResourceType field's value.
-func (s *PhysicalResource) SetResourceType(v string) *PhysicalResource {
- s.ResourceType = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *PutDraftAppVersionTemplateOutput) SetAppVersion(v string) *PutDraftAppVersionTemplateOutput {
+ s.AppVersion = &v
return s
}
-// Defines a physical resource identifier.
-type PhysicalResourceId struct {
+// Defines a disruption compliance recommendation.
+type RecommendationDisruptionCompliance struct {
_ struct{} `type:"structure"`
- // The Amazon Web Services account that owns the physical resource.
- AwsAccountId *string `locationName:"awsAccountId" type:"string"`
+ // The expected compliance status after applying the recommended configuration
+ // change.
+ //
+ // ExpectedComplianceStatus is a required field
+ ExpectedComplianceStatus *string `locationName:"expectedComplianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`
- // The Amazon Web Services Region that the physical resource is located in.
- AwsRegion *string `locationName:"awsRegion" type:"string"`
+ // The expected Recovery Point Objective (RPO) description after applying the
+ // recommended configuration change.
+ ExpectedRpoDescription *string `locationName:"expectedRpoDescription" min:"1" type:"string"`
- // The identifier of the physical resource.
- //
- // Identifier is a required field
- Identifier *string `locationName:"identifier" min:"1" type:"string" required:"true"`
+ // The expected RPO after applying the recommended configuration change.
+ ExpectedRpoInSecs *int64 `locationName:"expectedRpoInSecs" type:"integer"`
- // Specifies the type of physical resource identifier.
- //
- // Arn
- //
- // The resource identifier is an Amazon Resource Name (ARN) .
- //
- // Native
- //
- // The resource identifier is a Resilience Hub-native identifier.
- //
- // Type is a required field
- Type *string `locationName:"type" type:"string" required:"true" enum:"PhysicalIdentifierType"`
+ // The expected Recovery Time Objective (RTO) description after applying the
+ // recommended configuration change.
+ ExpectedRtoDescription *string `locationName:"expectedRtoDescription" min:"1" type:"string"`
+
+ // The expected RTO after applying the recommended configuration change.
+ ExpectedRtoInSecs *int64 `locationName:"expectedRtoInSecs" type:"integer"`
}
// String returns the string representation.
@@ -9952,7 +13580,7 @@ type PhysicalResourceId struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PhysicalResourceId) String() string {
+func (s RecommendationDisruptionCompliance) String() string {
return awsutil.Prettify(s)
}
@@ -9960,64 +13588,56 @@ func (s PhysicalResourceId) String() string {
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PhysicalResourceId) GoString() string {
- return s.String()
-}
-
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PhysicalResourceId) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PhysicalResourceId"}
- if s.Identifier == nil {
- invalidParams.Add(request.NewErrParamRequired("Identifier"))
- }
- if s.Identifier != nil && len(*s.Identifier) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Identifier", 1))
- }
- if s.Type == nil {
- invalidParams.Add(request.NewErrParamRequired("Type"))
- }
+// value will be replaced with "sensitive".
+func (s RecommendationDisruptionCompliance) GoString() string {
+ return s.String()
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetExpectedComplianceStatus sets the ExpectedComplianceStatus field's value.
+func (s *RecommendationDisruptionCompliance) SetExpectedComplianceStatus(v string) *RecommendationDisruptionCompliance {
+ s.ExpectedComplianceStatus = &v
+ return s
}
-// SetAwsAccountId sets the AwsAccountId field's value.
-func (s *PhysicalResourceId) SetAwsAccountId(v string) *PhysicalResourceId {
- s.AwsAccountId = &v
+// SetExpectedRpoDescription sets the ExpectedRpoDescription field's value.
+func (s *RecommendationDisruptionCompliance) SetExpectedRpoDescription(v string) *RecommendationDisruptionCompliance {
+ s.ExpectedRpoDescription = &v
return s
}
-// SetAwsRegion sets the AwsRegion field's value.
-func (s *PhysicalResourceId) SetAwsRegion(v string) *PhysicalResourceId {
- s.AwsRegion = &v
+// SetExpectedRpoInSecs sets the ExpectedRpoInSecs field's value.
+func (s *RecommendationDisruptionCompliance) SetExpectedRpoInSecs(v int64) *RecommendationDisruptionCompliance {
+ s.ExpectedRpoInSecs = &v
return s
}
-// SetIdentifier sets the Identifier field's value.
-func (s *PhysicalResourceId) SetIdentifier(v string) *PhysicalResourceId {
- s.Identifier = &v
+// SetExpectedRtoDescription sets the ExpectedRtoDescription field's value.
+func (s *RecommendationDisruptionCompliance) SetExpectedRtoDescription(v string) *RecommendationDisruptionCompliance {
+ s.ExpectedRtoDescription = &v
return s
}
-// SetType sets the Type field's value.
-func (s *PhysicalResourceId) SetType(v string) *PhysicalResourceId {
- s.Type = &v
+// SetExpectedRtoInSecs sets the ExpectedRtoInSecs field's value.
+func (s *RecommendationDisruptionCompliance) SetExpectedRtoInSecs(v int64) *RecommendationDisruptionCompliance {
+ s.ExpectedRtoInSecs = &v
return s
}
-type PublishAppVersionInput struct {
+// Defines a recommendation.
+type RecommendationItem struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // Specifies if the recommendation has already been implemented.
+ AlreadyImplemented *bool `locationName:"alreadyImplemented" type:"boolean"`
+
+ // The resource identifier.
+ ResourceId *string `locationName:"resourceId" min:"1" type:"string"`
+
+ // The target account identifier.
+ TargetAccountId *string `locationName:"targetAccountId" type:"string"`
+
+ // The target region.
+ TargetRegion *string `locationName:"targetRegion" type:"string"`
}
// String returns the string representation.
@@ -10025,7 +13645,7 @@ type PublishAppVersionInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PublishAppVersionInput) String() string {
+func (s RecommendationItem) String() string {
return awsutil.Prettify(s)
}
@@ -10034,42 +13654,123 @@ func (s PublishAppVersionInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PublishAppVersionInput) GoString() string {
+func (s RecommendationItem) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PublishAppVersionInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PublishAppVersionInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
+// SetAlreadyImplemented sets the AlreadyImplemented field's value.
+func (s *RecommendationItem) SetAlreadyImplemented(v bool) *RecommendationItem {
+ s.AlreadyImplemented = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetResourceId sets the ResourceId field's value.
+func (s *RecommendationItem) SetResourceId(v string) *RecommendationItem {
+ s.ResourceId = &v
+ return s
}
-// SetAppArn sets the AppArn field's value.
-func (s *PublishAppVersionInput) SetAppArn(v string) *PublishAppVersionInput {
- s.AppArn = &v
+// SetTargetAccountId sets the TargetAccountId field's value.
+func (s *RecommendationItem) SetTargetAccountId(v string) *RecommendationItem {
+ s.TargetAccountId = &v
return s
}
-type PublishAppVersionOutput struct {
+// SetTargetRegion sets the TargetRegion field's value.
+func (s *RecommendationItem) SetTargetRegion(v string) *RecommendationItem {
+ s.TargetRegion = &v
+ return s
+}
+
+// Defines a recommendation template created with the CreateRecommendationTemplate
+// action.
+type RecommendationTemplate struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
+ // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
+ // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // AssessmentArn is a required field
+ AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
- // The version of the application.
- AppVersion *string `locationName:"appVersion" type:"string"`
+ // The end time for the action.
+ EndTime *time.Time `locationName:"endTime" type:"timestamp"`
+
+ // The format of the recommendation template.
+ //
+ // CfnJson
+ //
+ // The template is CloudFormation JSON.
+ //
+ // CfnYaml
+ //
+ // The template is CloudFormation YAML.
+ //
+ // Format is a required field
+ Format *string `locationName:"format" type:"string" required:"true" enum:"TemplateFormat"`
+
+ // The message for the recommendation template.
+ Message *string `locationName:"message" min:"1" type:"string"`
+
+ // The name for the recommendation template.
+ //
+ // Name is a required field
+ Name *string `locationName:"name" type:"string" required:"true"`
+
+ // Indicates if replacements are needed.
+ NeedsReplacements *bool `locationName:"needsReplacements" type:"boolean"`
+
+ // Identifiers for the recommendations used in the recommendation template.
+ RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`
+
+ // The Amazon Resource Name (ARN) for the recommendation template.
+ //
+ // RecommendationTemplateArn is a required field
+ RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
+
+ // An array of strings that specify the recommendation template type or types.
+ //
+ // Alarm
+ //
+ // The template is an AlarmRecommendation template.
+ //
+ // Sop
+ //
+ // The template is a SopRecommendation template.
+ //
+ // Test
+ //
+ // The template is a TestRecommendation template.
+ //
+ // RecommendationTypes is a required field
+ RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" required:"true" enum:"RenderRecommendationType"`
+
+ // The start time for the action.
+ StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+
+ // The status of the action.
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`
+
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by RecommendationTemplate's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+
+ // The file location of the template.
+ TemplatesLocation *S3Location `locationName:"templatesLocation" type:"structure"`
}
// String returns the string representation.
@@ -10077,7 +13778,7 @@ type PublishAppVersionOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PublishAppVersionOutput) String() string {
+func (s RecommendationTemplate) String() string {
return awsutil.Prettify(s)
}
@@ -10086,151 +13787,121 @@ func (s PublishAppVersionOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s PublishAppVersionOutput) GoString() string {
+func (s RecommendationTemplate) GoString() string {
return s.String()
}
// SetAppArn sets the AppArn field's value.
-func (s *PublishAppVersionOutput) SetAppArn(v string) *PublishAppVersionOutput {
+func (s *RecommendationTemplate) SetAppArn(v string) *RecommendationTemplate {
s.AppArn = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *PublishAppVersionOutput) SetAppVersion(v string) *PublishAppVersionOutput {
- s.AppVersion = &v
+// SetAssessmentArn sets the AssessmentArn field's value.
+func (s *RecommendationTemplate) SetAssessmentArn(v string) *RecommendationTemplate {
+ s.AssessmentArn = &v
return s
}
-type PutDraftAppVersionTemplateInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
-
- // A JSON string that contains the body of the app template.
- //
- // AppTemplateBody is a required field
- AppTemplateBody *string `locationName:"appTemplateBody" type:"string" required:"true"`
+// SetEndTime sets the EndTime field's value.
+func (s *RecommendationTemplate) SetEndTime(v time.Time) *RecommendationTemplate {
+ s.EndTime = &v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutDraftAppVersionTemplateInput) String() string {
- return awsutil.Prettify(s)
+// SetFormat sets the Format field's value.
+func (s *RecommendationTemplate) SetFormat(v string) *RecommendationTemplate {
+ s.Format = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutDraftAppVersionTemplateInput) GoString() string {
- return s.String()
+// SetMessage sets the Message field's value.
+func (s *RecommendationTemplate) SetMessage(v string) *RecommendationTemplate {
+ s.Message = &v
+ return s
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *PutDraftAppVersionTemplateInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "PutDraftAppVersionTemplateInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppTemplateBody == nil {
- invalidParams.Add(request.NewErrParamRequired("AppTemplateBody"))
- }
+// SetName sets the Name field's value.
+func (s *RecommendationTemplate) SetName(v string) *RecommendationTemplate {
+ s.Name = &v
+ return s
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// SetNeedsReplacements sets the NeedsReplacements field's value.
+func (s *RecommendationTemplate) SetNeedsReplacements(v bool) *RecommendationTemplate {
+ s.NeedsReplacements = &v
+ return s
}
-// SetAppArn sets the AppArn field's value.
-func (s *PutDraftAppVersionTemplateInput) SetAppArn(v string) *PutDraftAppVersionTemplateInput {
- s.AppArn = &v
+// SetRecommendationIds sets the RecommendationIds field's value.
+func (s *RecommendationTemplate) SetRecommendationIds(v []*string) *RecommendationTemplate {
+ s.RecommendationIds = v
return s
}
-// SetAppTemplateBody sets the AppTemplateBody field's value.
-func (s *PutDraftAppVersionTemplateInput) SetAppTemplateBody(v string) *PutDraftAppVersionTemplateInput {
- s.AppTemplateBody = &v
+// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
+func (s *RecommendationTemplate) SetRecommendationTemplateArn(v string) *RecommendationTemplate {
+ s.RecommendationTemplateArn = &v
return s
}
-type PutDraftAppVersionTemplateOutput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `locationName:"appArn" type:"string"`
-
- // The version of the application.
- AppVersion *string `locationName:"appVersion" type:"string"`
+// SetRecommendationTypes sets the RecommendationTypes field's value.
+func (s *RecommendationTemplate) SetRecommendationTypes(v []*string) *RecommendationTemplate {
+ s.RecommendationTypes = v
+ return s
}
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutDraftAppVersionTemplateOutput) String() string {
- return awsutil.Prettify(s)
+// SetStartTime sets the StartTime field's value.
+func (s *RecommendationTemplate) SetStartTime(v time.Time) *RecommendationTemplate {
+ s.StartTime = &v
+ return s
}
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s PutDraftAppVersionTemplateOutput) GoString() string {
- return s.String()
+// SetStatus sets the Status field's value.
+func (s *RecommendationTemplate) SetStatus(v string) *RecommendationTemplate {
+ s.Status = &v
+ return s
}
-// SetAppArn sets the AppArn field's value.
-func (s *PutDraftAppVersionTemplateOutput) SetAppArn(v string) *PutDraftAppVersionTemplateOutput {
- s.AppArn = &v
+// SetTags sets the Tags field's value.
+func (s *RecommendationTemplate) SetTags(v map[string]*string) *RecommendationTemplate {
+ s.Tags = v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *PutDraftAppVersionTemplateOutput) SetAppVersion(v string) *PutDraftAppVersionTemplateOutput {
- s.AppVersion = &v
+// SetTemplatesLocation sets the TemplatesLocation field's value.
+func (s *RecommendationTemplate) SetTemplatesLocation(v *S3Location) *RecommendationTemplate {
+ s.TemplatesLocation = v
return s
}
-// Defines a disruption compliance recommendation.
-type RecommendationDisruptionCompliance struct {
+type RemoveDraftAppVersionResourceMappingsInput struct {
_ struct{} `type:"structure"`
- // The expected compliance status after applying the recommended configuration
- // change.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // ExpectedComplianceStatus is a required field
- ExpectedComplianceStatus *string `locationName:"expectedComplianceStatus" type:"string" required:"true" enum:"ComplianceStatus"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The expected Recovery Point Objective (RPO) description after applying the
- // recommended configuration change.
- ExpectedRpoDescription *string `locationName:"expectedRpoDescription" min:"1" type:"string"`
+ // The names of the registered applications you want to remove from the resource
+ // mappings.
+ AppRegistryAppNames []*string `locationName:"appRegistryAppNames" type:"list"`
- // The expected RPO after applying the recommended configuration change.
- ExpectedRpoInSecs *int64 `locationName:"expectedRpoInSecs" type:"integer"`
+ // The names of the CloudFormation stacks you want to remove from the resource
+ // mappings.
+ LogicalStackNames []*string `locationName:"logicalStackNames" type:"list"`
- // The expected Recovery Time Objective (RTO) description after applying the
- // recommended configuration change.
- ExpectedRtoDescription *string `locationName:"expectedRtoDescription" min:"1" type:"string"`
+ // The names of the resource groups you want to remove from the resource mappings.
+ ResourceGroupNames []*string `locationName:"resourceGroupNames" type:"list"`
- // The expected RTO after applying the recommended configuration change.
- ExpectedRtoInSecs *int64 `locationName:"expectedRtoInSecs" type:"integer"`
+ // The names of the resources you want to remove from the resource mappings.
+ ResourceNames []*string `locationName:"resourceNames" type:"list"`
+
+ // The names of the Terraform sources you want to remove from the resource mappings.
+ TerraformSourceNames []*string `locationName:"terraformSourceNames" type:"list"`
}
// String returns the string representation.
@@ -10238,7 +13909,7 @@ type RecommendationDisruptionCompliance struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationDisruptionCompliance) String() string {
+func (s RemoveDraftAppVersionResourceMappingsInput) String() string {
return awsutil.Prettify(s)
}
@@ -10247,55 +13918,70 @@ func (s RecommendationDisruptionCompliance) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationDisruptionCompliance) GoString() string {
+func (s RemoveDraftAppVersionResourceMappingsInput) GoString() string {
return s.String()
}
-// SetExpectedComplianceStatus sets the ExpectedComplianceStatus field's value.
-func (s *RecommendationDisruptionCompliance) SetExpectedComplianceStatus(v string) *RecommendationDisruptionCompliance {
- s.ExpectedComplianceStatus = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *RemoveDraftAppVersionResourceMappingsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "RemoveDraftAppVersionResourceMappingsInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetExpectedRpoDescription sets the ExpectedRpoDescription field's value.
-func (s *RecommendationDisruptionCompliance) SetExpectedRpoDescription(v string) *RecommendationDisruptionCompliance {
- s.ExpectedRpoDescription = &v
+// SetAppArn sets the AppArn field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetAppArn(v string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.AppArn = &v
return s
}
-// SetExpectedRpoInSecs sets the ExpectedRpoInSecs field's value.
-func (s *RecommendationDisruptionCompliance) SetExpectedRpoInSecs(v int64) *RecommendationDisruptionCompliance {
- s.ExpectedRpoInSecs = &v
+// SetAppRegistryAppNames sets the AppRegistryAppNames field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetAppRegistryAppNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.AppRegistryAppNames = v
return s
}
-// SetExpectedRtoDescription sets the ExpectedRtoDescription field's value.
-func (s *RecommendationDisruptionCompliance) SetExpectedRtoDescription(v string) *RecommendationDisruptionCompliance {
- s.ExpectedRtoDescription = &v
+// SetLogicalStackNames sets the LogicalStackNames field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetLogicalStackNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.LogicalStackNames = v
return s
}
-// SetExpectedRtoInSecs sets the ExpectedRtoInSecs field's value.
-func (s *RecommendationDisruptionCompliance) SetExpectedRtoInSecs(v int64) *RecommendationDisruptionCompliance {
- s.ExpectedRtoInSecs = &v
+// SetResourceGroupNames sets the ResourceGroupNames field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetResourceGroupNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.ResourceGroupNames = v
return s
}
-// Defines a recommendation.
-type RecommendationItem struct {
- _ struct{} `type:"structure"`
+// SetResourceNames sets the ResourceNames field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetResourceNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.ResourceNames = v
+ return s
+}
- // Specifies if the recommendation has already been implemented.
- AlreadyImplemented *bool `locationName:"alreadyImplemented" type:"boolean"`
+// SetTerraformSourceNames sets the TerraformSourceNames field's value.
+func (s *RemoveDraftAppVersionResourceMappingsInput) SetTerraformSourceNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
+ s.TerraformSourceNames = v
+ return s
+}
- // The resource identifier.
- ResourceId *string `locationName:"resourceId" min:"1" type:"string"`
+type RemoveDraftAppVersionResourceMappingsOutput struct {
+ _ struct{} `type:"structure"`
- // The target account identifier.
- TargetAccountId *string `locationName:"targetAccountId" type:"string"`
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ AppArn *string `locationName:"appArn" type:"string"`
- // The target region.
- TargetRegion *string `locationName:"targetRegion" type:"string"`
+ // The version of the application.
+ AppVersion *string `locationName:"appVersion" type:"string"`
}
// String returns the string representation.
@@ -10303,7 +13989,7 @@ type RecommendationItem struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationItem) String() string {
+func (s RemoveDraftAppVersionResourceMappingsOutput) String() string {
return awsutil.Prettify(s)
}
@@ -10312,123 +13998,62 @@ func (s RecommendationItem) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationItem) GoString() string {
+func (s RemoveDraftAppVersionResourceMappingsOutput) GoString() string {
return s.String()
}
-// SetAlreadyImplemented sets the AlreadyImplemented field's value.
-func (s *RecommendationItem) SetAlreadyImplemented(v bool) *RecommendationItem {
- s.AlreadyImplemented = &v
- return s
-}
-
-// SetResourceId sets the ResourceId field's value.
-func (s *RecommendationItem) SetResourceId(v string) *RecommendationItem {
- s.ResourceId = &v
- return s
-}
-
-// SetTargetAccountId sets the TargetAccountId field's value.
-func (s *RecommendationItem) SetTargetAccountId(v string) *RecommendationItem {
- s.TargetAccountId = &v
+// SetAppArn sets the AppArn field's value.
+func (s *RemoveDraftAppVersionResourceMappingsOutput) SetAppArn(v string) *RemoveDraftAppVersionResourceMappingsOutput {
+ s.AppArn = &v
return s
}
-// SetTargetRegion sets the TargetRegion field's value.
-func (s *RecommendationItem) SetTargetRegion(v string) *RecommendationItem {
- s.TargetRegion = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *RemoveDraftAppVersionResourceMappingsOutput) SetAppVersion(v string) *RemoveDraftAppVersionResourceMappingsOutput {
+ s.AppVersion = &v
return s
}
-// Defines a recommendation template created with the CreateRecommendationTemplate
-// action.
-type RecommendationTemplate struct {
+// Defines a resiliency policy.
+type ResiliencyPolicy struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `locationName:"appArn" type:"string"`
-
- // The Amazon Resource Name (ARN) of the assessment. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For
- // more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AssessmentArn is a required field
- AssessmentArn *string `locationName:"assessmentArn" type:"string" required:"true"`
-
- // The end time for the action.
- EndTime *time.Time `locationName:"endTime" type:"timestamp"`
-
- // The format of the recommendation template.
- //
- // CfnJson
- //
- // The template is CloudFormation JSON.
- //
- // CfnYaml
- //
- // The template is CloudFormation YAML.
- //
- // Format is a required field
- Format *string `locationName:"format" type:"string" required:"true" enum:"TemplateFormat"`
-
- // The message for the recommendation template.
- Message *string `locationName:"message" min:"1" type:"string"`
-
- // The name for the recommendation template.
- //
- // Name is a required field
- Name *string `locationName:"name" type:"string" required:"true"`
-
- // Indicates if replacements are needed.
- NeedsReplacements *bool `locationName:"needsReplacements" type:"boolean"`
+ // The timestamp for when the resiliency policy was created.
+ CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`
- // Identifiers for the recommendations used in the recommendation template.
- RecommendationIds []*string `locationName:"recommendationIds" min:"1" type:"list"`
+ // Specifies a high-level geographical location constraint for where your resilience
+ // policy data can be stored.
+ DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`
- // The Amazon Resource Name (ARN) for the recommendation template.
- //
- // RecommendationTemplateArn is a required field
- RecommendationTemplateArn *string `locationName:"recommendationTemplateArn" type:"string" required:"true"`
+ // Specifies the estimated cost tier of the resiliency policy.
+ EstimatedCostTier *string `locationName:"estimatedCostTier" type:"string" enum:"EstimatedCostTier"`
- // An array of strings that specify the recommendation template type or types.
- //
- // Alarm
- //
- // The template is an AlarmRecommendation template.
- //
- // Sop
- //
- // The template is a SopRecommendation template.
- //
- // Test
- //
- // The template is a TestRecommendation template.
- //
- // RecommendationTypes is a required field
- RecommendationTypes []*string `locationName:"recommendationTypes" min:"1" type:"list" required:"true" enum:"RenderRecommendationType"`
+ // The resiliency policy.
+ Policy map[string]*FailurePolicy `locationName:"policy" type:"map"`
- // The start time for the action.
- StartTime *time.Time `locationName:"startTime" type:"timestamp"`
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ PolicyArn *string `locationName:"policyArn" type:"string"`
- // The status of the action.
- //
- // Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"RecommendationTemplateStatus"`
+ // The description for the policy.
+ PolicyDescription *string `locationName:"policyDescription" type:"string"`
+
+ // The name of the policy
+ PolicyName *string `locationName:"policyName" type:"string"`
// The tags assigned to the resource. A tag is a label that you assign to an
// Amazon Web Services resource. Each tag consists of a key/value pair.
//
// Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by RecommendationTemplate's
+ // replaced with "sensitive" in string returned by ResiliencyPolicy's
// String and GoString methods.
Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
- // The file location of the template.
- TemplatesLocation *S3Location `locationName:"templatesLocation" type:"structure"`
+ // The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
+ // to lowest (NonCritical).
+ Tier *string `locationName:"tier" type:"string" enum:"ResiliencyPolicyTier"`
}
// String returns the string representation.
@@ -10436,7 +14061,7 @@ type RecommendationTemplate struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationTemplate) String() string {
+func (s ResiliencyPolicy) String() string {
return awsutil.Prettify(s)
}
@@ -10445,118 +14070,125 @@ func (s RecommendationTemplate) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RecommendationTemplate) GoString() string {
+func (s ResiliencyPolicy) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *RecommendationTemplate) SetAppArn(v string) *RecommendationTemplate {
- s.AppArn = &v
+// SetCreationTime sets the CreationTime field's value.
+func (s *ResiliencyPolicy) SetCreationTime(v time.Time) *ResiliencyPolicy {
+ s.CreationTime = &v
return s
}
-// SetAssessmentArn sets the AssessmentArn field's value.
-func (s *RecommendationTemplate) SetAssessmentArn(v string) *RecommendationTemplate {
- s.AssessmentArn = &v
+// SetDataLocationConstraint sets the DataLocationConstraint field's value.
+func (s *ResiliencyPolicy) SetDataLocationConstraint(v string) *ResiliencyPolicy {
+ s.DataLocationConstraint = &v
return s
}
-// SetEndTime sets the EndTime field's value.
-func (s *RecommendationTemplate) SetEndTime(v time.Time) *RecommendationTemplate {
- s.EndTime = &v
+// SetEstimatedCostTier sets the EstimatedCostTier field's value.
+func (s *ResiliencyPolicy) SetEstimatedCostTier(v string) *ResiliencyPolicy {
+ s.EstimatedCostTier = &v
return s
}
-// SetFormat sets the Format field's value.
-func (s *RecommendationTemplate) SetFormat(v string) *RecommendationTemplate {
- s.Format = &v
+// SetPolicy sets the Policy field's value.
+func (s *ResiliencyPolicy) SetPolicy(v map[string]*FailurePolicy) *ResiliencyPolicy {
+ s.Policy = v
return s
}
-// SetMessage sets the Message field's value.
-func (s *RecommendationTemplate) SetMessage(v string) *RecommendationTemplate {
- s.Message = &v
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *ResiliencyPolicy) SetPolicyArn(v string) *ResiliencyPolicy {
+ s.PolicyArn = &v
return s
}
-// SetName sets the Name field's value.
-func (s *RecommendationTemplate) SetName(v string) *RecommendationTemplate {
- s.Name = &v
+// SetPolicyDescription sets the PolicyDescription field's value.
+func (s *ResiliencyPolicy) SetPolicyDescription(v string) *ResiliencyPolicy {
+ s.PolicyDescription = &v
return s
}
-// SetNeedsReplacements sets the NeedsReplacements field's value.
-func (s *RecommendationTemplate) SetNeedsReplacements(v bool) *RecommendationTemplate {
- s.NeedsReplacements = &v
+// SetPolicyName sets the PolicyName field's value.
+func (s *ResiliencyPolicy) SetPolicyName(v string) *ResiliencyPolicy {
+ s.PolicyName = &v
return s
}
-// SetRecommendationIds sets the RecommendationIds field's value.
-func (s *RecommendationTemplate) SetRecommendationIds(v []*string) *RecommendationTemplate {
- s.RecommendationIds = v
+// SetTags sets the Tags field's value.
+func (s *ResiliencyPolicy) SetTags(v map[string]*string) *ResiliencyPolicy {
+ s.Tags = v
return s
}
-// SetRecommendationTemplateArn sets the RecommendationTemplateArn field's value.
-func (s *RecommendationTemplate) SetRecommendationTemplateArn(v string) *RecommendationTemplate {
- s.RecommendationTemplateArn = &v
+// SetTier sets the Tier field's value.
+func (s *ResiliencyPolicy) SetTier(v string) *ResiliencyPolicy {
+ s.Tier = &v
return s
}
-// SetRecommendationTypes sets the RecommendationTypes field's value.
-func (s *RecommendationTemplate) SetRecommendationTypes(v []*string) *RecommendationTemplate {
- s.RecommendationTypes = v
- return s
+// The overall resiliency score, returned as an object that includes the disruption
+// score and outage score.
+type ResiliencyScore struct {
+ _ struct{} `type:"structure"`
+
+ // The disruption score for a valid key.
+ //
+ // DisruptionScore is a required field
+ DisruptionScore map[string]*float64 `locationName:"disruptionScore" type:"map" required:"true"`
+
+ // The outage score for a valid key.
+ //
+ // Score is a required field
+ Score *float64 `locationName:"score" type:"double" required:"true"`
}
-// SetStartTime sets the StartTime field's value.
-func (s *RecommendationTemplate) SetStartTime(v time.Time) *RecommendationTemplate {
- s.StartTime = &v
- return s
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResiliencyScore) String() string {
+ return awsutil.Prettify(s)
}
-// SetStatus sets the Status field's value.
-func (s *RecommendationTemplate) SetStatus(v string) *RecommendationTemplate {
- s.Status = &v
- return s
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResiliencyScore) GoString() string {
+ return s.String()
}
-// SetTags sets the Tags field's value.
-func (s *RecommendationTemplate) SetTags(v map[string]*string) *RecommendationTemplate {
- s.Tags = v
+// SetDisruptionScore sets the DisruptionScore field's value.
+func (s *ResiliencyScore) SetDisruptionScore(v map[string]*float64) *ResiliencyScore {
+ s.DisruptionScore = v
return s
}
-// SetTemplatesLocation sets the TemplatesLocation field's value.
-func (s *RecommendationTemplate) SetTemplatesLocation(v *S3Location) *RecommendationTemplate {
- s.TemplatesLocation = v
+// SetScore sets the Score field's value.
+func (s *ResiliencyScore) SetScore(v float64) *ResiliencyScore {
+ s.Score = &v
return s
}
-type RemoveDraftAppVersionResourceMappingsInput struct {
+type ResolveAppVersionResourcesInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The names of the registered applications to remove from the resource mappings.
- AppRegistryAppNames []*string `locationName:"appRegistryAppNames" type:"list"`
-
- // The names of the CloudFormation stacks to remove from the resource mappings.
- LogicalStackNames []*string `locationName:"logicalStackNames" type:"list"`
-
- // The names of the resource groups to remove from the resource mappings.
- ResourceGroupNames []*string `locationName:"resourceGroupNames" type:"list"`
-
- // The names of the resources to remove from the resource mappings.
- ResourceNames []*string `locationName:"resourceNames" type:"list"`
-
- TerraformSourceNames []*string `locationName:"terraformSourceNames" type:"list"`
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -10564,7 +14196,7 @@ type RemoveDraftAppVersionResourceMappingsInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RemoveDraftAppVersionResourceMappingsInput) String() string {
+func (s ResolveAppVersionResourcesInput) String() string {
return awsutil.Prettify(s)
}
@@ -10573,16 +14205,19 @@ func (s RemoveDraftAppVersionResourceMappingsInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RemoveDraftAppVersionResourceMappingsInput) GoString() string {
+func (s ResolveAppVersionResourcesInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *RemoveDraftAppVersionResourceMappingsInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "RemoveDraftAppVersionResourceMappingsInput"}
+func (s *ResolveAppVersionResourcesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ResolveAppVersionResourcesInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -10591,52 +14226,146 @@ func (s *RemoveDraftAppVersionResourceMappingsInput) Validate() error {
}
// SetAppArn sets the AppArn field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetAppArn(v string) *RemoveDraftAppVersionResourceMappingsInput {
+func (s *ResolveAppVersionResourcesInput) SetAppArn(v string) *ResolveAppVersionResourcesInput {
s.AppArn = &v
return s
}
-// SetAppRegistryAppNames sets the AppRegistryAppNames field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetAppRegistryAppNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
- s.AppRegistryAppNames = v
+// SetAppVersion sets the AppVersion field's value.
+func (s *ResolveAppVersionResourcesInput) SetAppVersion(v string) *ResolveAppVersionResourcesInput {
+ s.AppVersion = &v
return s
}
-// SetLogicalStackNames sets the LogicalStackNames field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetLogicalStackNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
- s.LogicalStackNames = v
+type ResolveAppVersionResourcesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The version of the application.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // The identifier for a specific resolution.
+ //
+ // ResolutionId is a required field
+ ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+
+ // The status of the action.
+ //
+ // Status is a required field
+ Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResolveAppVersionResourcesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResolveAppVersionResourcesOutput) GoString() string {
+ return s.String()
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *ResolveAppVersionResourcesOutput) SetAppArn(v string) *ResolveAppVersionResourcesOutput {
+ s.AppArn = &v
return s
}
-// SetResourceGroupNames sets the ResourceGroupNames field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetResourceGroupNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
- s.ResourceGroupNames = v
+// SetAppVersion sets the AppVersion field's value.
+func (s *ResolveAppVersionResourcesOutput) SetAppVersion(v string) *ResolveAppVersionResourcesOutput {
+ s.AppVersion = &v
+ return s
+}
+
+// SetResolutionId sets the ResolutionId field's value.
+func (s *ResolveAppVersionResourcesOutput) SetResolutionId(v string) *ResolveAppVersionResourcesOutput {
+ s.ResolutionId = &v
+ return s
+}
+
+// SetStatus sets the Status field's value.
+func (s *ResolveAppVersionResourcesOutput) SetStatus(v string) *ResolveAppVersionResourcesOutput {
+ s.Status = &v
+ return s
+}
+
+// Defines application resource errors.
+type ResourceError struct {
+ _ struct{} `type:"structure"`
+
+ // This is the identifier of the resource.
+ LogicalResourceId *string `locationName:"logicalResourceId" min:"1" type:"string"`
+
+ // This is the identifier of the physical resource.
+ PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`
+
+ // This is the error message.
+ Reason *string `locationName:"reason" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceError) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceError) GoString() string {
+ return s.String()
+}
+
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *ResourceError) SetLogicalResourceId(v string) *ResourceError {
+ s.LogicalResourceId = &v
return s
}
-// SetResourceNames sets the ResourceNames field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetResourceNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
- s.ResourceNames = v
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *ResourceError) SetPhysicalResourceId(v string) *ResourceError {
+ s.PhysicalResourceId = &v
return s
}
-// SetTerraformSourceNames sets the TerraformSourceNames field's value.
-func (s *RemoveDraftAppVersionResourceMappingsInput) SetTerraformSourceNames(v []*string) *RemoveDraftAppVersionResourceMappingsInput {
- s.TerraformSourceNames = v
+// SetReason sets the Reason field's value.
+func (s *ResourceError) SetReason(v string) *ResourceError {
+ s.Reason = &v
return s
}
-type RemoveDraftAppVersionResourceMappingsOutput struct {
+// A list of errors retrieving an application's resources.
+type ResourceErrorsDetails struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- AppArn *string `locationName:"appArn" type:"string"`
+ // This indicates if there are more errors not listed in the resourceErrors
+ // list.
+ HasMoreErrors *bool `locationName:"hasMoreErrors" type:"boolean"`
- // The version of the application.
- AppVersion *string `locationName:"appVersion" type:"string"`
+ // A list of errors retrieving an application's resources.
+ ResourceErrors []*ResourceError `locationName:"resourceErrors" type:"list"`
}
// String returns the string representation.
@@ -10644,7 +14373,7 @@ type RemoveDraftAppVersionResourceMappingsOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RemoveDraftAppVersionResourceMappingsOutput) String() string {
+func (s ResourceErrorsDetails) String() string {
return awsutil.Prettify(s)
}
@@ -10653,62 +14382,70 @@ func (s RemoveDraftAppVersionResourceMappingsOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s RemoveDraftAppVersionResourceMappingsOutput) GoString() string {
+func (s ResourceErrorsDetails) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *RemoveDraftAppVersionResourceMappingsOutput) SetAppArn(v string) *RemoveDraftAppVersionResourceMappingsOutput {
- s.AppArn = &v
+// SetHasMoreErrors sets the HasMoreErrors field's value.
+func (s *ResourceErrorsDetails) SetHasMoreErrors(v bool) *ResourceErrorsDetails {
+ s.HasMoreErrors = &v
return s
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *RemoveDraftAppVersionResourceMappingsOutput) SetAppVersion(v string) *RemoveDraftAppVersionResourceMappingsOutput {
- s.AppVersion = &v
+// SetResourceErrors sets the ResourceErrors field's value.
+func (s *ResourceErrorsDetails) SetResourceErrors(v []*ResourceError) *ResourceErrorsDetails {
+ s.ResourceErrors = v
return s
}
-// Defines a resiliency policy.
-type ResiliencyPolicy struct {
+// Defines a resource mapping.
+type ResourceMapping struct {
_ struct{} `type:"structure"`
- // The timestamp for when the resiliency policy was created.
- CreationTime *time.Time `locationName:"creationTime" type:"timestamp"`
-
- // Specifies a high-level geographical location constraint for where your resilience
- // policy data can be stored.
- DataLocationConstraint *string `locationName:"dataLocationConstraint" type:"string" enum:"DataLocationConstraint"`
-
- // Specifies the estimated cost tier of the resiliency policy.
- EstimatedCostTier *string `locationName:"estimatedCostTier" type:"string" enum:"EstimatedCostTier"`
+ // The name of the application this resource is mapped to.
+ AppRegistryAppName *string `locationName:"appRegistryAppName" type:"string"`
- // The resiliency policy.
- Policy map[string]*FailurePolicy `locationName:"policy" type:"map"`
+ // The name of the CloudFormation stack this resource is mapped to.
+ LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- PolicyArn *string `locationName:"policyArn" type:"string"`
+ // Specifies the type of resource mapping.
+ //
+ // AppRegistryApp
+ //
+ // The resource is mapped to another application. The name of the application
+ // is contained in the appRegistryAppName property.
+ //
+ // CfnStack
+ //
+ // The resource is mapped to a CloudFormation stack. The name of the CloudFormation
+ // stack is contained in the logicalStackName property.
+ //
+ // Resource
+ //
+ // The resource is mapped to another resource. The name of the resource is contained
+ // in the resourceName property.
+ //
+ // ResourceGroup
+ //
+ // The resource is mapped to a resource group. The name of the resource group
+ // is contained in the resourceGroupName property.
+ //
+ // MappingType is a required field
+ MappingType *string `locationName:"mappingType" type:"string" required:"true" enum:"ResourceMappingType"`
- // The description for the policy.
- PolicyDescription *string `locationName:"policyDescription" type:"string"`
+ // The identifier of this resource.
+ //
+ // PhysicalResourceId is a required field
+ PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
- // The name of the policy
- PolicyName *string `locationName:"policyName" type:"string"`
+ // The name of the resource group this resource is mapped to.
+ ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by ResiliencyPolicy's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // The name of the resource this resource is mapped to.
+ ResourceName *string `locationName:"resourceName" type:"string"`
- // The tier for this resiliency policy, ranging from the highest severity (MissionCritical)
- // to lowest (NonCritical).
- Tier *string `locationName:"tier" type:"string" enum:"ResiliencyPolicyTier"`
+ // The short name of the Terraform source.
+ TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
}
// String returns the string representation.
@@ -10716,7 +14453,7 @@ type ResiliencyPolicy struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResiliencyPolicy) String() string {
+func (s ResourceMapping) String() string {
return awsutil.Prettify(s)
}
@@ -10725,125 +14462,91 @@ func (s ResiliencyPolicy) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResiliencyPolicy) GoString() string {
+func (s ResourceMapping) GoString() string {
return s.String()
}
-// SetCreationTime sets the CreationTime field's value.
-func (s *ResiliencyPolicy) SetCreationTime(v time.Time) *ResiliencyPolicy {
- s.CreationTime = &v
- return s
-}
-
-// SetDataLocationConstraint sets the DataLocationConstraint field's value.
-func (s *ResiliencyPolicy) SetDataLocationConstraint(v string) *ResiliencyPolicy {
- s.DataLocationConstraint = &v
- return s
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ResourceMapping) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ResourceMapping"}
+ if s.LogicalStackName != nil && len(*s.LogicalStackName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("LogicalStackName", 1))
+ }
+ if s.MappingType == nil {
+ invalidParams.Add(request.NewErrParamRequired("MappingType"))
+ }
+ if s.PhysicalResourceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("PhysicalResourceId"))
+ }
+ if s.TerraformSourceName != nil && len(*s.TerraformSourceName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TerraformSourceName", 1))
+ }
+ if s.PhysicalResourceId != nil {
+ if err := s.PhysicalResourceId.Validate(); err != nil {
+ invalidParams.AddNested("PhysicalResourceId", err.(request.ErrInvalidParams))
+ }
+ }
-// SetEstimatedCostTier sets the EstimatedCostTier field's value.
-func (s *ResiliencyPolicy) SetEstimatedCostTier(v string) *ResiliencyPolicy {
- s.EstimatedCostTier = &v
- return s
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetPolicy sets the Policy field's value.
-func (s *ResiliencyPolicy) SetPolicy(v map[string]*FailurePolicy) *ResiliencyPolicy {
- s.Policy = v
+// SetAppRegistryAppName sets the AppRegistryAppName field's value.
+func (s *ResourceMapping) SetAppRegistryAppName(v string) *ResourceMapping {
+ s.AppRegistryAppName = &v
return s
}
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *ResiliencyPolicy) SetPolicyArn(v string) *ResiliencyPolicy {
- s.PolicyArn = &v
+// SetLogicalStackName sets the LogicalStackName field's value.
+func (s *ResourceMapping) SetLogicalStackName(v string) *ResourceMapping {
+ s.LogicalStackName = &v
return s
}
-// SetPolicyDescription sets the PolicyDescription field's value.
-func (s *ResiliencyPolicy) SetPolicyDescription(v string) *ResiliencyPolicy {
- s.PolicyDescription = &v
+// SetMappingType sets the MappingType field's value.
+func (s *ResourceMapping) SetMappingType(v string) *ResourceMapping {
+ s.MappingType = &v
return s
}
-// SetPolicyName sets the PolicyName field's value.
-func (s *ResiliencyPolicy) SetPolicyName(v string) *ResiliencyPolicy {
- s.PolicyName = &v
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *ResourceMapping) SetPhysicalResourceId(v *PhysicalResourceId) *ResourceMapping {
+ s.PhysicalResourceId = v
return s
}
-// SetTags sets the Tags field's value.
-func (s *ResiliencyPolicy) SetTags(v map[string]*string) *ResiliencyPolicy {
- s.Tags = v
+// SetResourceGroupName sets the ResourceGroupName field's value.
+func (s *ResourceMapping) SetResourceGroupName(v string) *ResourceMapping {
+ s.ResourceGroupName = &v
return s
}
-// SetTier sets the Tier field's value.
-func (s *ResiliencyPolicy) SetTier(v string) *ResiliencyPolicy {
- s.Tier = &v
+// SetResourceName sets the ResourceName field's value.
+func (s *ResourceMapping) SetResourceName(v string) *ResourceMapping {
+ s.ResourceName = &v
return s
}
-// The overall resiliency score, returned as an object that includes the disruption
-// score and outage score.
-type ResiliencyScore struct {
- _ struct{} `type:"structure"`
-
- // The disruption score for a valid key.
- //
- // DisruptionScore is a required field
- DisruptionScore map[string]*float64 `locationName:"disruptionScore" type:"map" required:"true"`
-
- // The outage score for a valid key.
- //
- // Score is a required field
- Score *float64 `locationName:"score" type:"double" required:"true"`
-}
-
-// String returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ResiliencyScore) String() string {
- return awsutil.Prettify(s)
-}
-
-// GoString returns the string representation.
-//
-// API parameter values that are decorated as "sensitive" in the API will not
-// be included in the string output. The member name will be present, but the
-// value will be replaced with "sensitive".
-func (s ResiliencyScore) GoString() string {
- return s.String()
-}
-
-// SetDisruptionScore sets the DisruptionScore field's value.
-func (s *ResiliencyScore) SetDisruptionScore(v map[string]*float64) *ResiliencyScore {
- s.DisruptionScore = v
+// SetTerraformSourceName sets the TerraformSourceName field's value.
+func (s *ResourceMapping) SetTerraformSourceName(v string) *ResourceMapping {
+ s.TerraformSourceName = &v
return s
}
-// SetScore sets the Score field's value.
-func (s *ResiliencyScore) SetScore(v float64) *ResiliencyScore {
- s.Score = &v
- return s
-}
+// This exception occurs when the specified resource could not be found.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-type ResolveAppVersionResourcesInput struct {
- _ struct{} `type:"structure"`
+ Message_ *string `locationName:"message" min:"1" type:"string"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+ // The identifier of the resource that the exception applies to.
+ ResourceId *string `locationName:"resourceId" type:"string"`
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+ // The type of the resource that the exception applies to.
+ ResourceType *string `locationName:"resourceType" type:"string"`
}
// String returns the string representation.
@@ -10851,7 +14554,7 @@ type ResolveAppVersionResourcesInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResolveAppVersionResourcesInput) String() string {
+func (s ResourceNotFoundException) String() string {
return awsutil.Prettify(s)
}
@@ -10860,63 +14563,57 @@ func (s ResolveAppVersionResourcesInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResolveAppVersionResourcesInput) GoString() string {
+func (s ResourceNotFoundException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *ResolveAppVersionResourcesInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ResolveAppVersionResourcesInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
+}
+
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
}
- return nil
+ return ""
}
-// SetAppArn sets the AppArn field's value.
-func (s *ResolveAppVersionResourcesInput) SetAppArn(v string) *ResolveAppVersionResourcesInput {
- s.AppArn = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
+ return nil
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *ResolveAppVersionResourcesInput) SetAppVersion(v string) *ResolveAppVersionResourcesInput {
- s.AppVersion = &v
- return s
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-type ResolveAppVersionResourcesOutput struct {
- _ struct{} `type:"structure"`
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+// The location of the Amazon S3 bucket.
+type S3Location struct {
+ _ struct{} `type:"structure"`
- // The identifier for a specific resolution.
- //
- // ResolutionId is a required field
- ResolutionId *string `locationName:"resolutionId" min:"1" type:"string" required:"true"`
+ // The name of the Amazon S3 bucket.
+ Bucket *string `locationName:"bucket" min:"1" type:"string"`
- // The status of the action.
- //
- // Status is a required field
- Status *string `locationName:"status" type:"string" required:"true" enum:"ResourceResolutionStatusType"`
+ // The prefix for the Amazon S3 bucket.
+ Prefix *string `locationName:"prefix" min:"1" type:"string"`
}
// String returns the string representation.
@@ -10924,7 +14621,7 @@ type ResolveAppVersionResourcesOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResolveAppVersionResourcesOutput) String() string {
+func (s S3Location) String() string {
return awsutil.Prettify(s)
}
@@ -10933,46 +14630,30 @@ func (s ResolveAppVersionResourcesOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResolveAppVersionResourcesOutput) GoString() string {
+func (s S3Location) GoString() string {
return s.String()
}
-// SetAppArn sets the AppArn field's value.
-func (s *ResolveAppVersionResourcesOutput) SetAppArn(v string) *ResolveAppVersionResourcesOutput {
- s.AppArn = &v
- return s
-}
-
-// SetAppVersion sets the AppVersion field's value.
-func (s *ResolveAppVersionResourcesOutput) SetAppVersion(v string) *ResolveAppVersionResourcesOutput {
- s.AppVersion = &v
- return s
-}
-
-// SetResolutionId sets the ResolutionId field's value.
-func (s *ResolveAppVersionResourcesOutput) SetResolutionId(v string) *ResolveAppVersionResourcesOutput {
- s.ResolutionId = &v
+// SetBucket sets the Bucket field's value.
+func (s *S3Location) SetBucket(v string) *S3Location {
+ s.Bucket = &v
return s
}
-// SetStatus sets the Status field's value.
-func (s *ResolveAppVersionResourcesOutput) SetStatus(v string) *ResolveAppVersionResourcesOutput {
- s.Status = &v
+// SetPrefix sets the Prefix field's value.
+func (s *S3Location) SetPrefix(v string) *S3Location {
+ s.Prefix = &v
return s
}
-// Defines application resource errors.
-type ResourceError struct {
- _ struct{} `type:"structure"`
-
- // This is the identifier of the resource.
- LogicalResourceId *string `locationName:"logicalResourceId" min:"1" type:"string"`
-
- // This is the identifier of the physical resource.
- PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`
+// This exception occurs when you have exceeded your service quota. To perform
+// the requested action, remove some of the relevant resources, or use Service
+// Quotas to request a service quota increase.
+type ServiceQuotaExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // This is the error message.
- Reason *string `locationName:"reason" type:"string"`
+ Message_ *string `locationName:"message" min:"1" type:"string"`
}
// String returns the string representation.
@@ -10980,7 +14661,7 @@ type ResourceError struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceError) String() string {
+func (s ServiceQuotaExceededException) String() string {
return awsutil.Prettify(s)
}
@@ -10989,38 +14670,81 @@ func (s ResourceError) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceError) GoString() string {
+func (s ServiceQuotaExceededException) GoString() string {
return s.String()
}
-// SetLogicalResourceId sets the LogicalResourceId field's value.
-func (s *ResourceError) SetLogicalResourceId(v string) *ResourceError {
- s.LogicalResourceId = &v
- return s
+func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
+ return &ServiceQuotaExceededException{
+ RespMetadata: v,
+ }
}
-// SetPhysicalResourceId sets the PhysicalResourceId field's value.
-func (s *ResourceError) SetPhysicalResourceId(v string) *ResourceError {
- s.PhysicalResourceId = &v
- return s
+// Code returns the exception type name.
+func (s *ServiceQuotaExceededException) Code() string {
+ return "ServiceQuotaExceededException"
}
-// SetReason sets the Reason field's value.
-func (s *ResourceError) SetReason(v string) *ResourceError {
- s.Reason = &v
- return s
+// Message returns the exception's message.
+func (s *ServiceQuotaExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// A list of errors retrieving an application's resources.
-type ResourceErrorsDetails struct {
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ServiceQuotaExceededException) OrigErr() error {
+ return nil
+}
+
+func (s *ServiceQuotaExceededException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ServiceQuotaExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ServiceQuotaExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Defines a standard operating procedure (SOP) recommendation.
+type SopRecommendation struct {
_ struct{} `type:"structure"`
- // This indicates if there are more errors not listed in the resourceErrors
- // list.
- HasMoreErrors *bool `locationName:"hasMoreErrors" type:"boolean"`
+ // The name of the Application Component.
+ AppComponentName *string `locationName:"appComponentName" type:"string"`
- // A list of errors retrieving an application's resources.
- ResourceErrors []*ResourceError `locationName:"resourceErrors" type:"list"`
+ // The description of the SOP recommendation.
+ Description *string `locationName:"description" min:"1" type:"string"`
+
+ // The recommendation items.
+ Items []*RecommendationItem `locationName:"items" type:"list"`
+
+ // The name of the SOP recommendation.
+ Name *string `locationName:"name" min:"1" type:"string"`
+
+ // The prerequisite for the SOP recommendation.
+ Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`
+
+ // Identifier for the SOP recommendation.
+ //
+ // RecommendationId is a required field
+ RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`
+
+ // The reference identifier for the SOP recommendation.
+ //
+ // ReferenceId is a required field
+ ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
+
+ // The service type.
+ //
+ // ServiceType is a required field
+ ServiceType *string `locationName:"serviceType" type:"string" required:"true" enum:"SopServiceType"`
}
// String returns the string representation.
@@ -11028,7 +14752,7 @@ type ResourceErrorsDetails struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceErrorsDetails) String() string {
+func (s SopRecommendation) String() string {
return awsutil.Prettify(s)
}
@@ -11037,70 +14761,91 @@ func (s ResourceErrorsDetails) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceErrorsDetails) GoString() string {
+func (s SopRecommendation) GoString() string {
return s.String()
}
-// SetHasMoreErrors sets the HasMoreErrors field's value.
-func (s *ResourceErrorsDetails) SetHasMoreErrors(v bool) *ResourceErrorsDetails {
- s.HasMoreErrors = &v
+// SetAppComponentName sets the AppComponentName field's value.
+func (s *SopRecommendation) SetAppComponentName(v string) *SopRecommendation {
+ s.AppComponentName = &v
return s
}
-// SetResourceErrors sets the ResourceErrors field's value.
-func (s *ResourceErrorsDetails) SetResourceErrors(v []*ResourceError) *ResourceErrorsDetails {
- s.ResourceErrors = v
+// SetDescription sets the Description field's value.
+func (s *SopRecommendation) SetDescription(v string) *SopRecommendation {
+ s.Description = &v
return s
}
-// Defines a resource mapping.
-type ResourceMapping struct {
- _ struct{} `type:"structure"`
+// SetItems sets the Items field's value.
+func (s *SopRecommendation) SetItems(v []*RecommendationItem) *SopRecommendation {
+ s.Items = v
+ return s
+}
- // The name of the application this resource is mapped to.
- AppRegistryAppName *string `locationName:"appRegistryAppName" type:"string"`
+// SetName sets the Name field's value.
+func (s *SopRecommendation) SetName(v string) *SopRecommendation {
+ s.Name = &v
+ return s
+}
+
+// SetPrerequisite sets the Prerequisite field's value.
+func (s *SopRecommendation) SetPrerequisite(v string) *SopRecommendation {
+ s.Prerequisite = &v
+ return s
+}
+
+// SetRecommendationId sets the RecommendationId field's value.
+func (s *SopRecommendation) SetRecommendationId(v string) *SopRecommendation {
+ s.RecommendationId = &v
+ return s
+}
+
+// SetReferenceId sets the ReferenceId field's value.
+func (s *SopRecommendation) SetReferenceId(v string) *SopRecommendation {
+ s.ReferenceId = &v
+ return s
+}
+
+// SetServiceType sets the ServiceType field's value.
+func (s *SopRecommendation) SetServiceType(v string) *SopRecommendation {
+ s.ServiceType = &v
+ return s
+}
- // The name of the CloudFormation stack this resource is mapped to.
- LogicalStackName *string `locationName:"logicalStackName" min:"1" type:"string"`
+type StartAppAssessmentInput struct {
+ _ struct{} `type:"structure"`
- // Specifies the type of resource mapping.
- //
- // AppRegistryApp
- //
- // The resource is mapped to another application. The name of the application
- // is contained in the appRegistryAppName property.
- //
- // CfnStack
- //
- // The resource is mapped to a CloudFormation stack. The name of the CloudFormation
- // stack is contained in the logicalStackName property.
- //
- // Resource
- //
- // The resource is mapped to another resource. The name of the resource is contained
- // in the resourceName property.
- //
- // ResourceGroup
- //
- // The resource is mapped to a resource group. The name of the resource group
- // is contained in the resourceGroupName property.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // MappingType is a required field
- MappingType *string `locationName:"mappingType" type:"string" required:"true" enum:"ResourceMappingType"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The identifier of this resource.
+ // The version of the application.
//
- // PhysicalResourceId is a required field
- PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
- // The name of the resource group this resource is mapped to.
- ResourceGroupName *string `locationName:"resourceGroupName" type:"string"`
+ // The name for the assessment.
+ //
+ // AssessmentName is a required field
+ AssessmentName *string `locationName:"assessmentName" type:"string" required:"true"`
- // The name of the resource this resource is mapped to.
- ResourceName *string `locationName:"resourceName" type:"string"`
+ // Used for an idempotency token. A client token is a unique, case-sensitive
+ // string of up to 64 ASCII characters. You should not reuse the same client
+ // token for other API requests.
+ ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
- // The short name of the Terraform source.
- TerraformSourceName *string `locationName:"terraformSourceName" min:"1" type:"string"`
+ // The tags assigned to the resource. A tag is a label that you assign to an
+ // Amazon Web Services resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by StartAppAssessmentInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
}
// String returns the string representation.
@@ -11108,7 +14853,7 @@ type ResourceMapping struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceMapping) String() string {
+func (s StartAppAssessmentInput) String() string {
return awsutil.Prettify(s)
}
@@ -11117,29 +14862,27 @@ func (s ResourceMapping) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceMapping) GoString() string {
+func (s StartAppAssessmentInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *ResourceMapping) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "ResourceMapping"}
- if s.LogicalStackName != nil && len(*s.LogicalStackName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("LogicalStackName", 1))
+func (s *StartAppAssessmentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "StartAppAssessmentInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
- if s.MappingType == nil {
- invalidParams.Add(request.NewErrParamRequired("MappingType"))
+ if s.AppVersion == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppVersion"))
}
- if s.PhysicalResourceId == nil {
- invalidParams.Add(request.NewErrParamRequired("PhysicalResourceId"))
+ if s.AssessmentName == nil {
+ invalidParams.Add(request.NewErrParamRequired("AssessmentName"))
}
- if s.TerraformSourceName != nil && len(*s.TerraformSourceName) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TerraformSourceName", 1))
+ if s.ClientToken != nil && len(*s.ClientToken) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
}
- if s.PhysicalResourceId != nil {
- if err := s.PhysicalResourceId.Validate(); err != nil {
- invalidParams.AddNested("PhysicalResourceId", err.(request.ErrInvalidParams))
- }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
}
if invalidParams.Len() > 0 {
@@ -11148,60 +14891,43 @@ func (s *ResourceMapping) Validate() error {
return nil
}
-// SetAppRegistryAppName sets the AppRegistryAppName field's value.
-func (s *ResourceMapping) SetAppRegistryAppName(v string) *ResourceMapping {
- s.AppRegistryAppName = &v
- return s
-}
-
-// SetLogicalStackName sets the LogicalStackName field's value.
-func (s *ResourceMapping) SetLogicalStackName(v string) *ResourceMapping {
- s.LogicalStackName = &v
- return s
-}
-
-// SetMappingType sets the MappingType field's value.
-func (s *ResourceMapping) SetMappingType(v string) *ResourceMapping {
- s.MappingType = &v
+// SetAppArn sets the AppArn field's value.
+func (s *StartAppAssessmentInput) SetAppArn(v string) *StartAppAssessmentInput {
+ s.AppArn = &v
return s
}
-// SetPhysicalResourceId sets the PhysicalResourceId field's value.
-func (s *ResourceMapping) SetPhysicalResourceId(v *PhysicalResourceId) *ResourceMapping {
- s.PhysicalResourceId = v
+// SetAppVersion sets the AppVersion field's value.
+func (s *StartAppAssessmentInput) SetAppVersion(v string) *StartAppAssessmentInput {
+ s.AppVersion = &v
return s
}
-// SetResourceGroupName sets the ResourceGroupName field's value.
-func (s *ResourceMapping) SetResourceGroupName(v string) *ResourceMapping {
- s.ResourceGroupName = &v
+// SetAssessmentName sets the AssessmentName field's value.
+func (s *StartAppAssessmentInput) SetAssessmentName(v string) *StartAppAssessmentInput {
+ s.AssessmentName = &v
return s
}
-// SetResourceName sets the ResourceName field's value.
-func (s *ResourceMapping) SetResourceName(v string) *ResourceMapping {
- s.ResourceName = &v
+// SetClientToken sets the ClientToken field's value.
+func (s *StartAppAssessmentInput) SetClientToken(v string) *StartAppAssessmentInput {
+ s.ClientToken = &v
return s
}
-// SetTerraformSourceName sets the TerraformSourceName field's value.
-func (s *ResourceMapping) SetTerraformSourceName(v string) *ResourceMapping {
- s.TerraformSourceName = &v
+// SetTags sets the Tags field's value.
+func (s *StartAppAssessmentInput) SetTags(v map[string]*string) *StartAppAssessmentInput {
+ s.Tags = v
return s
}
-// The specified resource could not be found.
-type ResourceNotFoundException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
-
- Message_ *string `locationName:"message" min:"1" type:"string"`
-
- // The identifier of the resource that the exception applies to.
- ResourceId *string `locationName:"resourceId" type:"string"`
+type StartAppAssessmentOutput struct {
+ _ struct{} `type:"structure"`
- // The type of the resource that the exception applies to.
- ResourceType *string `locationName:"resourceType" type:"string"`
+ // The assessment created.
+ //
+ // Assessment is a required field
+ Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
}
// String returns the string representation.
@@ -11209,7 +14935,7 @@ type ResourceNotFoundException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) String() string {
+func (s StartAppAssessmentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11218,57 +14944,32 @@ func (s ResourceNotFoundException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ResourceNotFoundException) GoString() string {
+func (s StartAppAssessmentOutput) GoString() string {
return s.String()
}
-func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
- return &ResourceNotFoundException{
- RespMetadata: v,
- }
-}
-
-// Code returns the exception type name.
-func (s *ResourceNotFoundException) Code() string {
- return "ResourceNotFoundException"
-}
-
-// Message returns the exception's message.
-func (s *ResourceNotFoundException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
-}
-
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ResourceNotFoundException) OrigErr() error {
- return nil
-}
-
-func (s *ResourceNotFoundException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
-}
-
-// Status code returns the HTTP status code for the request's response error.
-func (s *ResourceNotFoundException) StatusCode() int {
- return s.RespMetadata.StatusCode
-}
-
-// RequestID returns the service's response RequestID for request.
-func (s *ResourceNotFoundException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetAssessment sets the Assessment field's value.
+func (s *StartAppAssessmentOutput) SetAssessment(v *AppAssessment) *StartAppAssessmentOutput {
+ s.Assessment = v
+ return s
}
-// The location of the Amazon S3 bucket.
-type S3Location struct {
+type TagResourceInput struct {
_ struct{} `type:"structure"`
- // The name of the Amazon S3 bucket.
- Bucket *string `locationName:"bucket" min:"1" type:"string"`
+ // The Amazon Resource Name (ARN) of the resource.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
- // The prefix for the Amazon S3 bucket.
- Prefix *string `locationName:"prefix" min:"1" type:"string"`
+ // The tags to assign to the resource. Each tag consists of a key/value pair.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by TagResourceInput's
+ // String and GoString methods.
+ //
+ // Tags is a required field
+ Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true" sensitive:"true"`
}
// String returns the string representation.
@@ -11276,7 +14977,7 @@ type S3Location struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s S3Location) String() string {
+func (s TagResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -11285,30 +14986,46 @@ func (s S3Location) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s S3Location) GoString() string {
+func (s TagResourceInput) GoString() string {
return s.String()
}
-// SetBucket sets the Bucket field's value.
-func (s *S3Location) SetBucket(v string) *S3Location {
- s.Bucket = &v
- return s
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+ if s.Tags != nil && len(s.Tags) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// SetPrefix sets the Prefix field's value.
-func (s *S3Location) SetPrefix(v string) *S3Location {
- s.Prefix = &v
+// SetResourceArn sets the ResourceArn field's value.
+func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+ s.ResourceArn = &v
return s
}
-// You have exceeded your service quota. To perform the requested action, remove
-// some of the relevant resources, or use Service Quotas to request a service
-// quota increase.
-type ServiceQuotaExceededException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
+ s.Tags = v
+ return s
+}
- Message_ *string `locationName:"message" min:"1" type:"string"`
+type TagResourceOutput struct {
+ _ struct{} `type:"structure"`
}
// String returns the string representation.
@@ -11316,7 +15033,7 @@ type ServiceQuotaExceededException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) String() string {
+func (s TagResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11325,81 +15042,96 @@ func (s ServiceQuotaExceededException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ServiceQuotaExceededException) GoString() string {
+func (s TagResourceOutput) GoString() string {
return s.String()
}
-func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
- return &ServiceQuotaExceededException{
- RespMetadata: v,
- }
-}
+// The Terraform s3 state file you need to import.
+type TerraformSource struct {
+ _ struct{} `type:"structure"`
-// Code returns the exception type name.
-func (s *ServiceQuotaExceededException) Code() string {
- return "ServiceQuotaExceededException"
+ // The Terraform s3 state file you need to import.
+ //
+ // S3StateFileUrl is a required field
+ S3StateFileUrl *string `locationName:"s3StateFileUrl" type:"string" required:"true"`
}
-// Message returns the exception's message.
-func (s *ServiceQuotaExceededException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerraformSource) String() string {
+ return awsutil.Prettify(s)
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ServiceQuotaExceededException) OrigErr() error {
- return nil
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerraformSource) GoString() string {
+ return s.String()
}
-func (s *ServiceQuotaExceededException) Error() string {
- return fmt.Sprintf("%s: %s", s.Code(), s.Message())
-}
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TerraformSource) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TerraformSource"}
+ if s.S3StateFileUrl == nil {
+ invalidParams.Add(request.NewErrParamRequired("S3StateFileUrl"))
+ }
-// Status code returns the HTTP status code for the request's response error.
-func (s *ServiceQuotaExceededException) StatusCode() int {
- return s.RespMetadata.StatusCode
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// RequestID returns the service's response RequestID for request.
-func (s *ServiceQuotaExceededException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetS3StateFileUrl sets the S3StateFileUrl field's value.
+func (s *TerraformSource) SetS3StateFileUrl(v string) *TerraformSource {
+ s.S3StateFileUrl = &v
+ return s
}
-// Defines a standard operating procedure (SOP) recommendation.
-type SopRecommendation struct {
+// Defines a test recommendation.
+type TestRecommendation struct {
_ struct{} `type:"structure"`
- // The application component name.
+ // The name of the Application Component.
AppComponentName *string `locationName:"appComponentName" type:"string"`
- // The description of the SOP recommendation.
+ // A list of recommended alarms that are used in the test and must be exported
+ // before or with the test.
+ DependsOnAlarms []*string `locationName:"dependsOnAlarms" min:"1" type:"list"`
+
+ // The description for the test recommendation.
Description *string `locationName:"description" min:"1" type:"string"`
- // The recommendation items.
+ // The intent of the test recommendation.
+ Intent *string `locationName:"intent" type:"string"`
+
+ // The test recommendation items.
Items []*RecommendationItem `locationName:"items" type:"list"`
- // The name of the SOP recommendation.
+ // The name of the test recommendation.
Name *string `locationName:"name" min:"1" type:"string"`
- // The prerequisite for the SOP recommendation.
+ // The prerequisite of the test recommendation.
Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`
- // Identifier for the SOP recommendation.
- //
- // RecommendationId is a required field
- RecommendationId *string `locationName:"recommendationId" type:"string" required:"true"`
+ // Identifier for the test recommendation.
+ RecommendationId *string `locationName:"recommendationId" type:"string"`
- // The reference identifier for the SOP recommendation.
+ // The reference identifier for the test recommendation.
//
// ReferenceId is a required field
ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
- // The service type.
- //
- // ServiceType is a required field
- ServiceType *string `locationName:"serviceType" type:"string" required:"true" enum:"SopServiceType"`
+ // The level of risk for this test recommendation.
+ Risk *string `locationName:"risk" type:"string" enum:"TestRisk"`
+
+ // The type of test recommendation.
+ Type *string `locationName:"type" type:"string" enum:"TestType"`
}
// String returns the string representation.
@@ -11407,7 +15139,7 @@ type SopRecommendation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s SopRecommendation) String() string {
+func (s TestRecommendation) String() string {
return awsutil.Prettify(s)
}
@@ -11416,91 +15148,86 @@ func (s SopRecommendation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s SopRecommendation) GoString() string {
+func (s TestRecommendation) GoString() string {
return s.String()
}
// SetAppComponentName sets the AppComponentName field's value.
-func (s *SopRecommendation) SetAppComponentName(v string) *SopRecommendation {
+func (s *TestRecommendation) SetAppComponentName(v string) *TestRecommendation {
s.AppComponentName = &v
return s
}
+// SetDependsOnAlarms sets the DependsOnAlarms field's value.
+func (s *TestRecommendation) SetDependsOnAlarms(v []*string) *TestRecommendation {
+ s.DependsOnAlarms = v
+ return s
+}
+
// SetDescription sets the Description field's value.
-func (s *SopRecommendation) SetDescription(v string) *SopRecommendation {
+func (s *TestRecommendation) SetDescription(v string) *TestRecommendation {
s.Description = &v
return s
}
+// SetIntent sets the Intent field's value.
+func (s *TestRecommendation) SetIntent(v string) *TestRecommendation {
+ s.Intent = &v
+ return s
+}
+
// SetItems sets the Items field's value.
-func (s *SopRecommendation) SetItems(v []*RecommendationItem) *SopRecommendation {
+func (s *TestRecommendation) SetItems(v []*RecommendationItem) *TestRecommendation {
s.Items = v
return s
}
// SetName sets the Name field's value.
-func (s *SopRecommendation) SetName(v string) *SopRecommendation {
+func (s *TestRecommendation) SetName(v string) *TestRecommendation {
s.Name = &v
return s
}
// SetPrerequisite sets the Prerequisite field's value.
-func (s *SopRecommendation) SetPrerequisite(v string) *SopRecommendation {
+func (s *TestRecommendation) SetPrerequisite(v string) *TestRecommendation {
s.Prerequisite = &v
return s
}
// SetRecommendationId sets the RecommendationId field's value.
-func (s *SopRecommendation) SetRecommendationId(v string) *SopRecommendation {
+func (s *TestRecommendation) SetRecommendationId(v string) *TestRecommendation {
s.RecommendationId = &v
return s
}
// SetReferenceId sets the ReferenceId field's value.
-func (s *SopRecommendation) SetReferenceId(v string) *SopRecommendation {
+func (s *TestRecommendation) SetReferenceId(v string) *TestRecommendation {
s.ReferenceId = &v
return s
}
-// SetServiceType sets the ServiceType field's value.
-func (s *SopRecommendation) SetServiceType(v string) *SopRecommendation {
- s.ServiceType = &v
+// SetRisk sets the Risk field's value.
+func (s *TestRecommendation) SetRisk(v string) *TestRecommendation {
+ s.Risk = &v
return s
}
-type StartAppAssessmentInput struct {
- _ struct{} `type:"structure"`
-
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- //
- // AppArn is a required field
- AppArn *string `locationName:"appArn" type:"string" required:"true"`
-
- // The version of the application.
- //
- // AppVersion is a required field
- AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+// SetType sets the Type field's value.
+func (s *TestRecommendation) SetType(v string) *TestRecommendation {
+ s.Type = &v
+ return s
+}
- // The name for the assessment.
- //
- // AssessmentName is a required field
- AssessmentName *string `locationName:"assessmentName" type:"string" required:"true"`
+// This exception occurs when you have exceeded the limit on the number of requests
+// per second.
+type ThrottlingException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
- // Used for an idempotency token. A client token is a unique, case-sensitive
- // string of up to 64 ASCII characters. You should not reuse the same client
- // token for other API requests.
- ClientToken *string `locationName:"clientToken" min:"1" type:"string" idempotencyToken:"true"`
+ Message_ *string `locationName:"message" min:"1" type:"string"`
- // The tags assigned to the resource. A tag is a label that you assign to an
- // Amazon Web Services resource. Each tag consists of a key/value pair.
- //
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by StartAppAssessmentInput's
- // String and GoString methods.
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
+ // The number of seconds to wait before retrying the operation.
+ RetryAfterSeconds *int64 `locationName:"retryAfterSeconds" type:"integer"`
}
// String returns the string representation.
@@ -11508,7 +15235,7 @@ type StartAppAssessmentInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartAppAssessmentInput) String() string {
+func (s ThrottlingException) String() string {
return awsutil.Prettify(s)
}
@@ -11517,72 +15244,66 @@ func (s StartAppAssessmentInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartAppAssessmentInput) GoString() string {
+func (s ThrottlingException) GoString() string {
return s.String()
}
-// Validate inspects the fields of the type to determine if they are valid.
-func (s *StartAppAssessmentInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "StartAppAssessmentInput"}
- if s.AppArn == nil {
- invalidParams.Add(request.NewErrParamRequired("AppArn"))
- }
- if s.AppVersion == nil {
- invalidParams.Add(request.NewErrParamRequired("AppVersion"))
- }
- if s.AssessmentName == nil {
- invalidParams.Add(request.NewErrParamRequired("AssessmentName"))
- }
- if s.ClientToken != nil && len(*s.ClientToken) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
- }
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+func newErrorThrottlingException(v protocol.ResponseMetadata) error {
+ return &ThrottlingException{
+ RespMetadata: v,
}
+}
- if invalidParams.Len() > 0 {
- return invalidParams
- }
- return nil
+// Code returns the exception type name.
+func (s *ThrottlingException) Code() string {
+ return "ThrottlingException"
}
-// SetAppArn sets the AppArn field's value.
-func (s *StartAppAssessmentInput) SetAppArn(v string) *StartAppAssessmentInput {
- s.AppArn = &v
- return s
+// Message returns the exception's message.
+func (s *ThrottlingException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
}
-// SetAppVersion sets the AppVersion field's value.
-func (s *StartAppAssessmentInput) SetAppVersion(v string) *StartAppAssessmentInput {
- s.AppVersion = &v
- return s
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ThrottlingException) OrigErr() error {
+ return nil
}
-// SetAssessmentName sets the AssessmentName field's value.
-func (s *StartAppAssessmentInput) SetAssessmentName(v string) *StartAppAssessmentInput {
- s.AssessmentName = &v
- return s
+func (s *ThrottlingException) Error() string {
+ return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
}
-// SetClientToken sets the ClientToken field's value.
-func (s *StartAppAssessmentInput) SetClientToken(v string) *StartAppAssessmentInput {
- s.ClientToken = &v
- return s
+// Status code returns the HTTP status code for the request's response error.
+func (s *ThrottlingException) StatusCode() int {
+ return s.RespMetadata.StatusCode
}
-// SetTags sets the Tags field's value.
-func (s *StartAppAssessmentInput) SetTags(v map[string]*string) *StartAppAssessmentInput {
- s.Tags = v
- return s
+// RequestID returns the service's response RequestID for request.
+func (s *ThrottlingException) RequestID() string {
+ return s.RespMetadata.RequestID
}
-type StartAppAssessmentOutput struct {
+// Defines a resource that is not supported by AWS Resilience Hub.
+type UnsupportedResource struct {
_ struct{} `type:"structure"`
- // The assessment created.
+ // The logical resource identifier for the unsupported resource.
+ //
+ // LogicalResourceId is a required field
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`
+
+ // The physical resource identifier for the unsupported resource.
+ //
+ // PhysicalResourceId is a required field
+ PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
+
+ // The type of resource.
//
- // Assessment is a required field
- Assessment *AppAssessment `locationName:"assessment" type:"structure" required:"true"`
+ // ResourceType is a required field
+ ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
}
// String returns the string representation.
@@ -11590,7 +15311,7 @@ type StartAppAssessmentOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartAppAssessmentOutput) String() string {
+func (s UnsupportedResource) String() string {
return awsutil.Prettify(s)
}
@@ -11599,32 +15320,44 @@ func (s StartAppAssessmentOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s StartAppAssessmentOutput) GoString() string {
+func (s UnsupportedResource) GoString() string {
return s.String()
}
-// SetAssessment sets the Assessment field's value.
-func (s *StartAppAssessmentOutput) SetAssessment(v *AppAssessment) *StartAppAssessmentOutput {
- s.Assessment = v
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *UnsupportedResource) SetLogicalResourceId(v *LogicalResourceId) *UnsupportedResource {
+ s.LogicalResourceId = v
return s
}
-type TagResourceInput struct {
- _ struct{} `type:"structure"`
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *UnsupportedResource) SetPhysicalResourceId(v *PhysicalResourceId) *UnsupportedResource {
+ s.PhysicalResourceId = v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *UnsupportedResource) SetResourceType(v string) *UnsupportedResource {
+ s.ResourceType = &v
+ return s
+}
+
+type UntagResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
// The Amazon Resource Name (ARN) of the resource.
//
// ResourceArn is a required field
ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
- // The tags to assign to the resource. Each tag consists of a key/value pair.
+ // The keys of the tags you want to remove.
//
- // Tags is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by TagResourceInput's
+ // TagKeys is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by UntagResourceInput's
// String and GoString methods.
//
- // Tags is a required field
- Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true" sensitive:"true"`
+ // TagKeys is a required field
+ TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true" sensitive:"true"`
}
// String returns the string representation.
@@ -11632,7 +15365,7 @@ type TagResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceInput) String() string {
+func (s UntagResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -11641,24 +15374,24 @@ func (s TagResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceInput) GoString() string {
+func (s UntagResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *TagResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
+func (s *UntagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
if s.ResourceArn == nil {
invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
}
if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
}
- if s.Tags == nil {
- invalidParams.Add(request.NewErrParamRequired("Tags"))
+ if s.TagKeys == nil {
+ invalidParams.Add(request.NewErrParamRequired("TagKeys"))
}
- if s.Tags != nil && len(s.Tags) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
+ if s.TagKeys != nil && len(s.TagKeys) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
}
if invalidParams.Len() > 0 {
@@ -11668,18 +15401,18 @@ func (s *TagResourceInput) Validate() error {
}
// SetResourceArn sets the ResourceArn field's value.
-func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
s.ResourceArn = &v
return s
}
-// SetTags sets the Tags field's value.
-func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
- s.Tags = v
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
+ s.TagKeys = v
return s
}
-type TagResourceOutput struct {
+type UntagResourceOutput struct {
_ struct{} `type:"structure"`
}
@@ -11688,7 +15421,7 @@ type TagResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceOutput) String() string {
+func (s UntagResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11697,18 +15430,35 @@ func (s TagResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TagResourceOutput) GoString() string {
+func (s UntagResourceOutput) GoString() string {
return s.String()
}
-// The Terraform s3 state file you need to import.
-type TerraformSource struct {
+type UpdateAppInput struct {
_ struct{} `type:"structure"`
- // The Terraform s3 state file you need to import.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // S3StateFileUrl is a required field
- S3StateFileUrl *string `locationName:"s3StateFileUrl" type:"string" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // Assessment execution schedule with 'Daily' or 'Disabled' values.
+ AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
+
+ // Specifies if the resiliency policy ARN should be cleared.
+ ClearResiliencyPolicyArn *bool `locationName:"clearResiliencyPolicyArn" type:"boolean"`
+
+ // The optional description for an app.
+ Description *string `locationName:"description" type:"string"`
+
+ // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
+ // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ PolicyArn *string `locationName:"policyArn" type:"string"`
}
// String returns the string representation.
@@ -11716,7 +15466,7 @@ type TerraformSource struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TerraformSource) String() string {
+func (s UpdateAppInput) String() string {
return awsutil.Prettify(s)
}
@@ -11725,15 +15475,15 @@ func (s TerraformSource) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TerraformSource) GoString() string {
+func (s UpdateAppInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *TerraformSource) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "TerraformSource"}
- if s.S3StateFileUrl == nil {
- invalidParams.Add(request.NewErrParamRequired("S3StateFileUrl"))
+func (s *UpdateAppInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateAppInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
if invalidParams.Len() > 0 {
@@ -11742,51 +15492,44 @@ func (s *TerraformSource) Validate() error {
return nil
}
-// SetS3StateFileUrl sets the S3StateFileUrl field's value.
-func (s *TerraformSource) SetS3StateFileUrl(v string) *TerraformSource {
- s.S3StateFileUrl = &v
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppInput) SetAppArn(v string) *UpdateAppInput {
+ s.AppArn = &v
return s
}
-// Defines a test recommendation.
-type TestRecommendation struct {
- _ struct{} `type:"structure"`
-
- // The name of the application component.
- AppComponentName *string `locationName:"appComponentName" type:"string"`
-
- // A list of recommended alarms that are used in the test and must be exported
- // before or with the test.
- DependsOnAlarms []*string `locationName:"dependsOnAlarms" min:"1" type:"list"`
-
- // The description for the test recommendation.
- Description *string `locationName:"description" min:"1" type:"string"`
-
- // The intent of the test recommendation.
- Intent *string `locationName:"intent" type:"string"`
+// SetAssessmentSchedule sets the AssessmentSchedule field's value.
+func (s *UpdateAppInput) SetAssessmentSchedule(v string) *UpdateAppInput {
+ s.AssessmentSchedule = &v
+ return s
+}
- // The test recommendation items.
- Items []*RecommendationItem `locationName:"items" type:"list"`
+// SetClearResiliencyPolicyArn sets the ClearResiliencyPolicyArn field's value.
+func (s *UpdateAppInput) SetClearResiliencyPolicyArn(v bool) *UpdateAppInput {
+ s.ClearResiliencyPolicyArn = &v
+ return s
+}
- // The name of the test recommendation.
- Name *string `locationName:"name" min:"1" type:"string"`
+// SetDescription sets the Description field's value.
+func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput {
+ s.Description = &v
+ return s
+}
- // The prerequisite of the test recommendation.
- Prerequisite *string `locationName:"prerequisite" min:"1" type:"string"`
+// SetPolicyArn sets the PolicyArn field's value.
+func (s *UpdateAppInput) SetPolicyArn(v string) *UpdateAppInput {
+ s.PolicyArn = &v
+ return s
+}
- // Identifier for the test recommendation.
- RecommendationId *string `locationName:"recommendationId" type:"string"`
+type UpdateAppOutput struct {
+ _ struct{} `type:"structure"`
- // The reference identifier for the test recommendation.
+ // The specified application, returned as an object with details including compliance
+ // status, creation time, description, resiliency score, and more.
//
- // ReferenceId is a required field
- ReferenceId *string `locationName:"referenceId" min:"1" type:"string" required:"true"`
-
- // The level of risk for this test recommendation.
- Risk *string `locationName:"risk" type:"string" enum:"TestRisk"`
-
- // The type of test recommendation.
- Type *string `locationName:"type" type:"string" enum:"TestType"`
+ // App is a required field
+ App *App `locationName:"app" type:"structure" required:"true"`
}
// String returns the string representation.
@@ -11794,7 +15537,7 @@ type TestRecommendation struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TestRecommendation) String() string {
+func (s UpdateAppOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11803,85 +15546,41 @@ func (s TestRecommendation) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s TestRecommendation) GoString() string {
+func (s UpdateAppOutput) GoString() string {
return s.String()
}
-// SetAppComponentName sets the AppComponentName field's value.
-func (s *TestRecommendation) SetAppComponentName(v string) *TestRecommendation {
- s.AppComponentName = &v
- return s
-}
-
-// SetDependsOnAlarms sets the DependsOnAlarms field's value.
-func (s *TestRecommendation) SetDependsOnAlarms(v []*string) *TestRecommendation {
- s.DependsOnAlarms = v
- return s
-}
-
-// SetDescription sets the Description field's value.
-func (s *TestRecommendation) SetDescription(v string) *TestRecommendation {
- s.Description = &v
- return s
-}
-
-// SetIntent sets the Intent field's value.
-func (s *TestRecommendation) SetIntent(v string) *TestRecommendation {
- s.Intent = &v
- return s
-}
-
-// SetItems sets the Items field's value.
-func (s *TestRecommendation) SetItems(v []*RecommendationItem) *TestRecommendation {
- s.Items = v
- return s
-}
-
-// SetName sets the Name field's value.
-func (s *TestRecommendation) SetName(v string) *TestRecommendation {
- s.Name = &v
- return s
-}
-
-// SetPrerequisite sets the Prerequisite field's value.
-func (s *TestRecommendation) SetPrerequisite(v string) *TestRecommendation {
- s.Prerequisite = &v
- return s
-}
-
-// SetRecommendationId sets the RecommendationId field's value.
-func (s *TestRecommendation) SetRecommendationId(v string) *TestRecommendation {
- s.RecommendationId = &v
+// SetApp sets the App field's value.
+func (s *UpdateAppOutput) SetApp(v *App) *UpdateAppOutput {
+ s.App = v
return s
}
-// SetReferenceId sets the ReferenceId field's value.
-func (s *TestRecommendation) SetReferenceId(v string) *TestRecommendation {
- s.ReferenceId = &v
- return s
-}
+type UpdateAppVersionAppComponentInput struct {
+ _ struct{} `type:"structure"`
-// SetRisk sets the Risk field's value.
-func (s *TestRecommendation) SetRisk(v string) *TestRecommendation {
- s.Risk = &v
- return s
-}
+ // Currently, there is no supported additional information for Application Components.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
-// SetType sets the Type field's value.
-func (s *TestRecommendation) SetType(v string) *TestRecommendation {
- s.Type = &v
- return s
-}
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
-// The limit on the number of requests per second was exceeded.
-type ThrottlingException struct {
- _ struct{} `type:"structure"`
- RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+ // The identifier of the Application Component.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" min:"1" type:"string" required:"true"`
- Message_ *string `locationName:"message" min:"1" type:"string"`
+ // The name of the Application Component.
+ Name *string `locationName:"name" min:"1" type:"string"`
- // The number of seconds to wait before retrying the operation.
- RetryAfterSeconds *int64 `locationName:"retryAfterSeconds" type:"integer"`
+ // The type of Application Component. For more information about the types of
+ // Application Component, see Grouping resources in an AppComponent (https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html).
+ Type *string `locationName:"type" min:"1" type:"string"`
}
// String returns the string representation.
@@ -11889,7 +15588,7 @@ type ThrottlingException struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ThrottlingException) String() string {
+func (s UpdateAppVersionAppComponentInput) String() string {
return awsutil.Prettify(s)
}
@@ -11898,66 +15597,83 @@ func (s ThrottlingException) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s ThrottlingException) GoString() string {
+func (s UpdateAppVersionAppComponentInput) GoString() string {
return s.String()
}
-func newErrorThrottlingException(v protocol.ResponseMetadata) error {
- return &ThrottlingException{
- RespMetadata: v,
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateAppVersionAppComponentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateAppVersionAppComponentInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
+ }
+ if s.Id == nil {
+ invalidParams.Add(request.NewErrParamRequired("Id"))
+ }
+ if s.Id != nil && len(*s.Id) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Id", 1))
+ }
+ if s.Name != nil && len(*s.Name) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Name", 1))
+ }
+ if s.Type != nil && len(*s.Type) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("Type", 1))
}
-}
-// Code returns the exception type name.
-func (s *ThrottlingException) Code() string {
- return "ThrottlingException"
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
}
-// Message returns the exception's message.
-func (s *ThrottlingException) Message() string {
- if s.Message_ != nil {
- return *s.Message_
- }
- return ""
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *UpdateAppVersionAppComponentInput) SetAdditionalInfo(v map[string][]*string) *UpdateAppVersionAppComponentInput {
+ s.AdditionalInfo = v
+ return s
}
-// OrigErr always returns nil, satisfies awserr.Error interface.
-func (s *ThrottlingException) OrigErr() error {
- return nil
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppVersionAppComponentInput) SetAppArn(v string) *UpdateAppVersionAppComponentInput {
+ s.AppArn = &v
+ return s
}
-func (s *ThrottlingException) Error() string {
- return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
+// SetId sets the Id field's value.
+func (s *UpdateAppVersionAppComponentInput) SetId(v string) *UpdateAppVersionAppComponentInput {
+ s.Id = &v
+ return s
}
-// Status code returns the HTTP status code for the request's response error.
-func (s *ThrottlingException) StatusCode() int {
- return s.RespMetadata.StatusCode
+// SetName sets the Name field's value.
+func (s *UpdateAppVersionAppComponentInput) SetName(v string) *UpdateAppVersionAppComponentInput {
+ s.Name = &v
+ return s
}
-// RequestID returns the service's response RequestID for request.
-func (s *ThrottlingException) RequestID() string {
- return s.RespMetadata.RequestID
+// SetType sets the Type field's value.
+func (s *UpdateAppVersionAppComponentInput) SetType(v string) *UpdateAppVersionAppComponentInput {
+ s.Type = &v
+ return s
}
-// Defines a resource that is not supported by Resilience Hub.
-type UnsupportedResource struct {
+type UpdateAppVersionAppComponentOutput struct {
_ struct{} `type:"structure"`
- // The logical resource identifier for the unsupported resource.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // LogicalResourceId is a required field
- LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // The physical resource identifier for the unsupported resource.
- //
- // PhysicalResourceId is a required field
- PhysicalResourceId *PhysicalResourceId `locationName:"physicalResourceId" type:"structure" required:"true"`
+ // Defines an Application Component.
+ AppComponent *AppComponent `locationName:"appComponent" type:"structure"`
- // The type of resource.
+ // The AWS Resilience Hub application version.
//
- // ResourceType is a required field
- ResourceType *string `locationName:"resourceType" min:"1" type:"string" required:"true"`
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -11965,7 +15681,7 @@ type UnsupportedResource struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UnsupportedResource) String() string {
+func (s UpdateAppVersionAppComponentOutput) String() string {
return awsutil.Prettify(s)
}
@@ -11974,44 +15690,48 @@ func (s UnsupportedResource) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UnsupportedResource) GoString() string {
+func (s UpdateAppVersionAppComponentOutput) GoString() string {
return s.String()
}
-// SetLogicalResourceId sets the LogicalResourceId field's value.
-func (s *UnsupportedResource) SetLogicalResourceId(v *LogicalResourceId) *UnsupportedResource {
- s.LogicalResourceId = v
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppVersionAppComponentOutput) SetAppArn(v string) *UpdateAppVersionAppComponentOutput {
+ s.AppArn = &v
return s
}
-// SetPhysicalResourceId sets the PhysicalResourceId field's value.
-func (s *UnsupportedResource) SetPhysicalResourceId(v *PhysicalResourceId) *UnsupportedResource {
- s.PhysicalResourceId = v
+// SetAppComponent sets the AppComponent field's value.
+func (s *UpdateAppVersionAppComponentOutput) SetAppComponent(v *AppComponent) *UpdateAppVersionAppComponentOutput {
+ s.AppComponent = v
return s
}
-// SetResourceType sets the ResourceType field's value.
-func (s *UnsupportedResource) SetResourceType(v string) *UnsupportedResource {
- s.ResourceType = &v
+// SetAppVersion sets the AppVersion field's value.
+func (s *UpdateAppVersionAppComponentOutput) SetAppVersion(v string) *UpdateAppVersionAppComponentOutput {
+ s.AppVersion = &v
return s
}
-type UntagResourceInput struct {
- _ struct{} `type:"structure" nopayload:"true"`
+type UpdateAppVersionInput struct {
+ _ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the resource.
+ // Additional configuration parameters for an AWS Resilience Hub application.
//
- // ResourceArn is a required field
- ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
-
- // The keys of the tags to remove.
+ // Currently, this parameter accepts a key-value mapping (in a string format)
+ // of only one failover region and one associated account.
//
- // TagKeys is a sensitive parameter and its value will be
- // replaced with "sensitive" in string returned by UntagResourceInput's
- // String and GoString methods.
+ // Key: "failover-regions"
//
- // TagKeys is a required field
- TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true" sensitive:"true"`
+ // Value: "[{"region":"", "accounts":[{"id":""}]}]"
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
}
// String returns the string representation.
@@ -12019,7 +15739,7 @@ type UntagResourceInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceInput) String() string {
+func (s UpdateAppVersionInput) String() string {
return awsutil.Prettify(s)
}
@@ -12028,24 +15748,15 @@ func (s UntagResourceInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceInput) GoString() string {
+func (s UpdateAppVersionInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *UntagResourceInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
- if s.ResourceArn == nil {
- invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
- }
- if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
- }
- if s.TagKeys == nil {
- invalidParams.Add(request.NewErrParamRequired("TagKeys"))
- }
- if s.TagKeys != nil && len(s.TagKeys) < 1 {
- invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
+func (s *UpdateAppVersionInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateAppVersionInput"}
+ if s.AppArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
if invalidParams.Len() > 0 {
@@ -12054,20 +15765,38 @@ func (s *UntagResourceInput) Validate() error {
return nil
}
-// SetResourceArn sets the ResourceArn field's value.
-func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
- s.ResourceArn = &v
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *UpdateAppVersionInput) SetAdditionalInfo(v map[string][]*string) *UpdateAppVersionInput {
+ s.AdditionalInfo = v
return s
}
-// SetTagKeys sets the TagKeys field's value.
-func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
- s.TagKeys = v
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppVersionInput) SetAppArn(v string) *UpdateAppVersionInput {
+ s.AppArn = &v
return s
}
-type UntagResourceOutput struct {
+type UpdateAppVersionOutput struct {
_ struct{} `type:"structure"`
+
+ // Additional configuration parameters for an AWS Resilience Hub application.
+ //
+ // Currently, this parameter supports only failover region and account.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
+ //
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
}
// String returns the string representation.
@@ -12075,7 +15804,7 @@ type UntagResourceOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceOutput) String() string {
+func (s UpdateAppVersionOutput) String() string {
return awsutil.Prettify(s)
}
@@ -12084,35 +15813,68 @@ func (s UntagResourceOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UntagResourceOutput) GoString() string {
+func (s UpdateAppVersionOutput) GoString() string {
return s.String()
}
-type UpdateAppInput struct {
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *UpdateAppVersionOutput) SetAdditionalInfo(v map[string][]*string) *UpdateAppVersionOutput {
+ s.AdditionalInfo = v
+ return s
+}
+
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppVersionOutput) SetAppArn(v string) *UpdateAppVersionOutput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *UpdateAppVersionOutput) SetAppVersion(v string) *UpdateAppVersionOutput {
+ s.AppVersion = &v
+ return s
+}
+
+type UpdateAppVersionResourceInput struct {
_ struct{} `type:"structure"`
- // The Amazon Resource Name (ARN) of the application. The format for this ARN
- // is: arn:partition:resiliencehub:region:account:app/app-id. For more information
- // about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // Currently, there is no supported additional information for resources.
+ AdditionalInfo map[string][]*string `locationName:"additionalInfo" type:"map"`
+
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
// AppArn is a required field
AppArn *string `locationName:"appArn" type:"string" required:"true"`
- // Assessment execution schedule with 'Daily' or 'Disabled' values.
- AssessmentSchedule *string `locationName:"assessmentSchedule" type:"string" enum:"AppAssessmentScheduleType"`
+ // The list of Application Components that this resource belongs to. If an Application
+ // Component is not part of the AWS Resilience Hub application, it will be added.
+ AppComponents []*string `locationName:"appComponents" type:"list"`
- // Specifies if the resiliency policy ARN should be cleared.
- ClearResiliencyPolicyArn *bool `locationName:"clearResiliencyPolicyArn" type:"boolean"`
+ // The Amazon Web Services account that owns the physical resource.
+ AwsAccountId *string `locationName:"awsAccountId" type:"string"`
- // The optional description for an app.
- Description *string `locationName:"description" type:"string"`
+ // The Amazon Web Services region that owns the physical resource.
+ AwsRegion *string `locationName:"awsRegion" type:"string"`
- // The Amazon Resource Name (ARN) of the resiliency policy. The format for this
- // ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
- // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
- PolicyArn *string `locationName:"policyArn" type:"string"`
+ // Indicates if a resource is excluded from an AWS Resilience Hub application.
+ //
+ // You can exclude only imported resources from an AWS Resilience Hub application.
+ Excluded *bool `locationName:"excluded" type:"boolean"`
+
+ // The logical identifier of the resource.
+ LogicalResourceId *LogicalResourceId `locationName:"logicalResourceId" type:"structure"`
+
+ // The physical identifier of the resource.
+ PhysicalResourceId *string `locationName:"physicalResourceId" min:"1" type:"string"`
+
+ // The name of the resource.
+ ResourceName *string `locationName:"resourceName" type:"string"`
+
+ // The type of resource.
+ ResourceType *string `locationName:"resourceType" min:"1" type:"string"`
}
// String returns the string representation.
@@ -12120,7 +15882,7 @@ type UpdateAppInput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateAppInput) String() string {
+func (s UpdateAppVersionResourceInput) String() string {
return awsutil.Prettify(s)
}
@@ -12129,16 +15891,27 @@ func (s UpdateAppInput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateAppInput) GoString() string {
+func (s UpdateAppVersionResourceInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
-func (s *UpdateAppInput) Validate() error {
- invalidParams := request.ErrInvalidParams{Context: "UpdateAppInput"}
+func (s *UpdateAppVersionResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateAppVersionResourceInput"}
if s.AppArn == nil {
invalidParams.Add(request.NewErrParamRequired("AppArn"))
}
+ if s.PhysicalResourceId != nil && len(*s.PhysicalResourceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("PhysicalResourceId", 1))
+ }
+ if s.ResourceType != nil && len(*s.ResourceType) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceType", 1))
+ }
+ if s.LogicalResourceId != nil {
+ if err := s.LogicalResourceId.Validate(); err != nil {
+ invalidParams.AddNested("LogicalResourceId", err.(request.ErrInvalidParams))
+ }
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -12146,44 +15919,86 @@ func (s *UpdateAppInput) Validate() error {
return nil
}
+// SetAdditionalInfo sets the AdditionalInfo field's value.
+func (s *UpdateAppVersionResourceInput) SetAdditionalInfo(v map[string][]*string) *UpdateAppVersionResourceInput {
+ s.AdditionalInfo = v
+ return s
+}
+
// SetAppArn sets the AppArn field's value.
-func (s *UpdateAppInput) SetAppArn(v string) *UpdateAppInput {
+func (s *UpdateAppVersionResourceInput) SetAppArn(v string) *UpdateAppVersionResourceInput {
s.AppArn = &v
return s
}
-// SetAssessmentSchedule sets the AssessmentSchedule field's value.
-func (s *UpdateAppInput) SetAssessmentSchedule(v string) *UpdateAppInput {
- s.AssessmentSchedule = &v
+// SetAppComponents sets the AppComponents field's value.
+func (s *UpdateAppVersionResourceInput) SetAppComponents(v []*string) *UpdateAppVersionResourceInput {
+ s.AppComponents = v
return s
}
-// SetClearResiliencyPolicyArn sets the ClearResiliencyPolicyArn field's value.
-func (s *UpdateAppInput) SetClearResiliencyPolicyArn(v bool) *UpdateAppInput {
- s.ClearResiliencyPolicyArn = &v
+// SetAwsAccountId sets the AwsAccountId field's value.
+func (s *UpdateAppVersionResourceInput) SetAwsAccountId(v string) *UpdateAppVersionResourceInput {
+ s.AwsAccountId = &v
return s
}
-// SetDescription sets the Description field's value.
-func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput {
- s.Description = &v
+// SetAwsRegion sets the AwsRegion field's value.
+func (s *UpdateAppVersionResourceInput) SetAwsRegion(v string) *UpdateAppVersionResourceInput {
+ s.AwsRegion = &v
return s
}
-// SetPolicyArn sets the PolicyArn field's value.
-func (s *UpdateAppInput) SetPolicyArn(v string) *UpdateAppInput {
- s.PolicyArn = &v
+// SetExcluded sets the Excluded field's value.
+func (s *UpdateAppVersionResourceInput) SetExcluded(v bool) *UpdateAppVersionResourceInput {
+ s.Excluded = &v
return s
}
-type UpdateAppOutput struct {
+// SetLogicalResourceId sets the LogicalResourceId field's value.
+func (s *UpdateAppVersionResourceInput) SetLogicalResourceId(v *LogicalResourceId) *UpdateAppVersionResourceInput {
+ s.LogicalResourceId = v
+ return s
+}
+
+// SetPhysicalResourceId sets the PhysicalResourceId field's value.
+func (s *UpdateAppVersionResourceInput) SetPhysicalResourceId(v string) *UpdateAppVersionResourceInput {
+ s.PhysicalResourceId = &v
+ return s
+}
+
+// SetResourceName sets the ResourceName field's value.
+func (s *UpdateAppVersionResourceInput) SetResourceName(v string) *UpdateAppVersionResourceInput {
+ s.ResourceName = &v
+ return s
+}
+
+// SetResourceType sets the ResourceType field's value.
+func (s *UpdateAppVersionResourceInput) SetResourceType(v string) *UpdateAppVersionResourceInput {
+ s.ResourceType = &v
+ return s
+}
+
+type UpdateAppVersionResourceOutput struct {
_ struct{} `type:"structure"`
- // The specified application, returned as an object with details including compliance
- // status, creation time, description, resiliency score, and more.
+ // The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The
+ // format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id.
+ // For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // in the AWS General Reference guide.
//
- // App is a required field
- App *App `locationName:"app" type:"structure" required:"true"`
+ // AppArn is a required field
+ AppArn *string `locationName:"appArn" type:"string" required:"true"`
+
+ // The AWS Resilience Hub application version.
+ //
+ // AppVersion is a required field
+ AppVersion *string `locationName:"appVersion" type:"string" required:"true"`
+
+ // Defines a physical resource. A physical resource is a resource that exists
+ // in your account. It can be identified using an Amazon Resource Name (ARN)
+ // or a Resilience Hub-native identifier.
+ PhysicalResource *PhysicalResource `locationName:"physicalResource" type:"structure"`
}
// String returns the string representation.
@@ -12191,7 +16006,7 @@ type UpdateAppOutput struct {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateAppOutput) String() string {
+func (s UpdateAppVersionResourceOutput) String() string {
return awsutil.Prettify(s)
}
@@ -12200,13 +16015,25 @@ func (s UpdateAppOutput) String() string {
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
-func (s UpdateAppOutput) GoString() string {
+func (s UpdateAppVersionResourceOutput) GoString() string {
return s.String()
}
-// SetApp sets the App field's value.
-func (s *UpdateAppOutput) SetApp(v *App) *UpdateAppOutput {
- s.App = v
+// SetAppArn sets the AppArn field's value.
+func (s *UpdateAppVersionResourceOutput) SetAppArn(v string) *UpdateAppVersionResourceOutput {
+ s.AppArn = &v
+ return s
+}
+
+// SetAppVersion sets the AppVersion field's value.
+func (s *UpdateAppVersionResourceOutput) SetAppVersion(v string) *UpdateAppVersionResourceOutput {
+ s.AppVersion = &v
+ return s
+}
+
+// SetPhysicalResource sets the PhysicalResource field's value.
+func (s *UpdateAppVersionResourceOutput) SetPhysicalResource(v *PhysicalResource) *UpdateAppVersionResourceOutput {
+ s.PhysicalResource = v
return s
}
@@ -12224,7 +16051,7 @@ type UpdateResiliencyPolicyInput struct {
// The Amazon Resource Name (ARN) of the resiliency policy. The format for this
// ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id.
// For more information about ARNs, see Amazon Resource Names (ARNs) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
- // in the AWS General Reference.
+ // in the AWS General Reference guide.
//
// PolicyArn is a required field
PolicyArn *string `locationName:"policyArn" type:"string" required:"true"`
@@ -12351,7 +16178,7 @@ func (s *UpdateResiliencyPolicyOutput) SetPolicy(v *ResiliencyPolicy) *UpdateRes
return s
}
-// Indicates that a request was not valid.
+// This exception occurs when a request is not valid.
type ValidationException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -12839,6 +16666,22 @@ func ResourceImportStatusType_Values() []string {
}
}
+const (
+ // ResourceImportStrategyTypeAddOnly is a ResourceImportStrategyType enum value
+ ResourceImportStrategyTypeAddOnly = "AddOnly"
+
+ // ResourceImportStrategyTypeReplaceAll is a ResourceImportStrategyType enum value
+ ResourceImportStrategyTypeReplaceAll = "ReplaceAll"
+)
+
+// ResourceImportStrategyType_Values returns all elements of the ResourceImportStrategyType enum
+func ResourceImportStrategyType_Values() []string {
+ return []string{
+ ResourceImportStrategyTypeAddOnly,
+ ResourceImportStrategyTypeReplaceAll,
+ }
+}
+
const (
// ResourceMappingTypeCfnStack is a ResourceMappingType enum value
ResourceMappingTypeCfnStack = "CfnStack"
diff --git a/service/resiliencehub/errors.go b/service/resiliencehub/errors.go
index e1a4e69157e..5916bf3ae79 100644
--- a/service/resiliencehub/errors.go
+++ b/service/resiliencehub/errors.go
@@ -19,10 +19,10 @@ const (
// ErrCodeConflictException for service response error code
// "ConflictException".
//
- // Occurs when a conflict with a previous successful write is detected. This
- // generally occurs when the previous write did not have time to propagate to
- // the host serving the current request. A retry (with appropriate backoff logic)
- // is the recommended response to this exception.
+ // This exception occurs when a conflict with a previous successful write is
+ // detected. This generally occurs when the previous write did not have time
+ // to propagate to the host serving the current request. A retry (with appropriate
+ // backoff logic) is the recommended response to this exception.
ErrCodeConflictException = "ConflictException"
// ErrCodeInternalServerException for service response error code
@@ -35,27 +35,28 @@ const (
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
- // The specified resource could not be found.
+ // This exception occurs when the specified resource could not be found.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
- // You have exceeded your service quota. To perform the requested action, remove
- // some of the relevant resources, or use Service Quotas to request a service
- // quota increase.
+ // This exception occurs when you have exceeded your service quota. To perform
+ // the requested action, remove some of the relevant resources, or use Service
+ // Quotas to request a service quota increase.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeThrottlingException for service response error code
// "ThrottlingException".
//
- // The limit on the number of requests per second was exceeded.
+ // This exception occurs when you have exceeded the limit on the number of requests
+ // per second.
ErrCodeThrottlingException = "ThrottlingException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
- // Indicates that a request was not valid.
+ // This exception occurs when a request is not valid.
ErrCodeValidationException = "ValidationException"
)
diff --git a/service/resiliencehub/resiliencehubiface/interface.go b/service/resiliencehub/resiliencehubiface/interface.go
index ee76a73131f..44e59f5f84b 100644
--- a/service/resiliencehub/resiliencehubiface/interface.go
+++ b/service/resiliencehub/resiliencehubiface/interface.go
@@ -68,6 +68,14 @@ type ResilienceHubAPI interface {
CreateAppWithContext(aws.Context, *resiliencehub.CreateAppInput, ...request.Option) (*resiliencehub.CreateAppOutput, error)
CreateAppRequest(*resiliencehub.CreateAppInput) (*request.Request, *resiliencehub.CreateAppOutput)
+ CreateAppVersionAppComponent(*resiliencehub.CreateAppVersionAppComponentInput) (*resiliencehub.CreateAppVersionAppComponentOutput, error)
+ CreateAppVersionAppComponentWithContext(aws.Context, *resiliencehub.CreateAppVersionAppComponentInput, ...request.Option) (*resiliencehub.CreateAppVersionAppComponentOutput, error)
+ CreateAppVersionAppComponentRequest(*resiliencehub.CreateAppVersionAppComponentInput) (*request.Request, *resiliencehub.CreateAppVersionAppComponentOutput)
+
+ CreateAppVersionResource(*resiliencehub.CreateAppVersionResourceInput) (*resiliencehub.CreateAppVersionResourceOutput, error)
+ CreateAppVersionResourceWithContext(aws.Context, *resiliencehub.CreateAppVersionResourceInput, ...request.Option) (*resiliencehub.CreateAppVersionResourceOutput, error)
+ CreateAppVersionResourceRequest(*resiliencehub.CreateAppVersionResourceInput) (*request.Request, *resiliencehub.CreateAppVersionResourceOutput)
+
CreateRecommendationTemplate(*resiliencehub.CreateRecommendationTemplateInput) (*resiliencehub.CreateRecommendationTemplateOutput, error)
CreateRecommendationTemplateWithContext(aws.Context, *resiliencehub.CreateRecommendationTemplateInput, ...request.Option) (*resiliencehub.CreateRecommendationTemplateOutput, error)
CreateRecommendationTemplateRequest(*resiliencehub.CreateRecommendationTemplateInput) (*request.Request, *resiliencehub.CreateRecommendationTemplateOutput)
@@ -84,6 +92,18 @@ type ResilienceHubAPI interface {
DeleteAppAssessmentWithContext(aws.Context, *resiliencehub.DeleteAppAssessmentInput, ...request.Option) (*resiliencehub.DeleteAppAssessmentOutput, error)
DeleteAppAssessmentRequest(*resiliencehub.DeleteAppAssessmentInput) (*request.Request, *resiliencehub.DeleteAppAssessmentOutput)
+ DeleteAppInputSource(*resiliencehub.DeleteAppInputSourceInput) (*resiliencehub.DeleteAppInputSourceOutput, error)
+ DeleteAppInputSourceWithContext(aws.Context, *resiliencehub.DeleteAppInputSourceInput, ...request.Option) (*resiliencehub.DeleteAppInputSourceOutput, error)
+ DeleteAppInputSourceRequest(*resiliencehub.DeleteAppInputSourceInput) (*request.Request, *resiliencehub.DeleteAppInputSourceOutput)
+
+ DeleteAppVersionAppComponent(*resiliencehub.DeleteAppVersionAppComponentInput) (*resiliencehub.DeleteAppVersionAppComponentOutput, error)
+ DeleteAppVersionAppComponentWithContext(aws.Context, *resiliencehub.DeleteAppVersionAppComponentInput, ...request.Option) (*resiliencehub.DeleteAppVersionAppComponentOutput, error)
+ DeleteAppVersionAppComponentRequest(*resiliencehub.DeleteAppVersionAppComponentInput) (*request.Request, *resiliencehub.DeleteAppVersionAppComponentOutput)
+
+ DeleteAppVersionResource(*resiliencehub.DeleteAppVersionResourceInput) (*resiliencehub.DeleteAppVersionResourceOutput, error)
+ DeleteAppVersionResourceWithContext(aws.Context, *resiliencehub.DeleteAppVersionResourceInput, ...request.Option) (*resiliencehub.DeleteAppVersionResourceOutput, error)
+ DeleteAppVersionResourceRequest(*resiliencehub.DeleteAppVersionResourceInput) (*request.Request, *resiliencehub.DeleteAppVersionResourceOutput)
+
DeleteRecommendationTemplate(*resiliencehub.DeleteRecommendationTemplateInput) (*resiliencehub.DeleteRecommendationTemplateOutput, error)
DeleteRecommendationTemplateWithContext(aws.Context, *resiliencehub.DeleteRecommendationTemplateInput, ...request.Option) (*resiliencehub.DeleteRecommendationTemplateOutput, error)
DeleteRecommendationTemplateRequest(*resiliencehub.DeleteRecommendationTemplateInput) (*request.Request, *resiliencehub.DeleteRecommendationTemplateOutput)
@@ -100,6 +120,18 @@ type ResilienceHubAPI interface {
DescribeAppAssessmentWithContext(aws.Context, *resiliencehub.DescribeAppAssessmentInput, ...request.Option) (*resiliencehub.DescribeAppAssessmentOutput, error)
DescribeAppAssessmentRequest(*resiliencehub.DescribeAppAssessmentInput) (*request.Request, *resiliencehub.DescribeAppAssessmentOutput)
+ DescribeAppVersion(*resiliencehub.DescribeAppVersionInput) (*resiliencehub.DescribeAppVersionOutput, error)
+ DescribeAppVersionWithContext(aws.Context, *resiliencehub.DescribeAppVersionInput, ...request.Option) (*resiliencehub.DescribeAppVersionOutput, error)
+ DescribeAppVersionRequest(*resiliencehub.DescribeAppVersionInput) (*request.Request, *resiliencehub.DescribeAppVersionOutput)
+
+ DescribeAppVersionAppComponent(*resiliencehub.DescribeAppVersionAppComponentInput) (*resiliencehub.DescribeAppVersionAppComponentOutput, error)
+ DescribeAppVersionAppComponentWithContext(aws.Context, *resiliencehub.DescribeAppVersionAppComponentInput, ...request.Option) (*resiliencehub.DescribeAppVersionAppComponentOutput, error)
+ DescribeAppVersionAppComponentRequest(*resiliencehub.DescribeAppVersionAppComponentInput) (*request.Request, *resiliencehub.DescribeAppVersionAppComponentOutput)
+
+ DescribeAppVersionResource(*resiliencehub.DescribeAppVersionResourceInput) (*resiliencehub.DescribeAppVersionResourceOutput, error)
+ DescribeAppVersionResourceWithContext(aws.Context, *resiliencehub.DescribeAppVersionResourceInput, ...request.Option) (*resiliencehub.DescribeAppVersionResourceOutput, error)
+ DescribeAppVersionResourceRequest(*resiliencehub.DescribeAppVersionResourceInput) (*request.Request, *resiliencehub.DescribeAppVersionResourceOutput)
+
DescribeAppVersionResourcesResolutionStatus(*resiliencehub.DescribeAppVersionResourcesResolutionStatusInput) (*resiliencehub.DescribeAppVersionResourcesResolutionStatusOutput, error)
DescribeAppVersionResourcesResolutionStatusWithContext(aws.Context, *resiliencehub.DescribeAppVersionResourcesResolutionStatusInput, ...request.Option) (*resiliencehub.DescribeAppVersionResourcesResolutionStatusOutput, error)
DescribeAppVersionResourcesResolutionStatusRequest(*resiliencehub.DescribeAppVersionResourcesResolutionStatusInput) (*request.Request, *resiliencehub.DescribeAppVersionResourcesResolutionStatusOutput)
@@ -148,6 +180,20 @@ type ResilienceHubAPI interface {
ListAppComponentRecommendationsPages(*resiliencehub.ListAppComponentRecommendationsInput, func(*resiliencehub.ListAppComponentRecommendationsOutput, bool) bool) error
ListAppComponentRecommendationsPagesWithContext(aws.Context, *resiliencehub.ListAppComponentRecommendationsInput, func(*resiliencehub.ListAppComponentRecommendationsOutput, bool) bool, ...request.Option) error
+ ListAppInputSources(*resiliencehub.ListAppInputSourcesInput) (*resiliencehub.ListAppInputSourcesOutput, error)
+ ListAppInputSourcesWithContext(aws.Context, *resiliencehub.ListAppInputSourcesInput, ...request.Option) (*resiliencehub.ListAppInputSourcesOutput, error)
+ ListAppInputSourcesRequest(*resiliencehub.ListAppInputSourcesInput) (*request.Request, *resiliencehub.ListAppInputSourcesOutput)
+
+ ListAppInputSourcesPages(*resiliencehub.ListAppInputSourcesInput, func(*resiliencehub.ListAppInputSourcesOutput, bool) bool) error
+ ListAppInputSourcesPagesWithContext(aws.Context, *resiliencehub.ListAppInputSourcesInput, func(*resiliencehub.ListAppInputSourcesOutput, bool) bool, ...request.Option) error
+
+ ListAppVersionAppComponents(*resiliencehub.ListAppVersionAppComponentsInput) (*resiliencehub.ListAppVersionAppComponentsOutput, error)
+ ListAppVersionAppComponentsWithContext(aws.Context, *resiliencehub.ListAppVersionAppComponentsInput, ...request.Option) (*resiliencehub.ListAppVersionAppComponentsOutput, error)
+ ListAppVersionAppComponentsRequest(*resiliencehub.ListAppVersionAppComponentsInput) (*request.Request, *resiliencehub.ListAppVersionAppComponentsOutput)
+
+ ListAppVersionAppComponentsPages(*resiliencehub.ListAppVersionAppComponentsInput, func(*resiliencehub.ListAppVersionAppComponentsOutput, bool) bool) error
+ ListAppVersionAppComponentsPagesWithContext(aws.Context, *resiliencehub.ListAppVersionAppComponentsInput, func(*resiliencehub.ListAppVersionAppComponentsOutput, bool) bool, ...request.Option) error
+
ListAppVersionResourceMappings(*resiliencehub.ListAppVersionResourceMappingsInput) (*resiliencehub.ListAppVersionResourceMappingsOutput, error)
ListAppVersionResourceMappingsWithContext(aws.Context, *resiliencehub.ListAppVersionResourceMappingsInput, ...request.Option) (*resiliencehub.ListAppVersionResourceMappingsOutput, error)
ListAppVersionResourceMappingsRequest(*resiliencehub.ListAppVersionResourceMappingsInput) (*request.Request, *resiliencehub.ListAppVersionResourceMappingsOutput)
@@ -254,6 +300,18 @@ type ResilienceHubAPI interface {
UpdateAppWithContext(aws.Context, *resiliencehub.UpdateAppInput, ...request.Option) (*resiliencehub.UpdateAppOutput, error)
UpdateAppRequest(*resiliencehub.UpdateAppInput) (*request.Request, *resiliencehub.UpdateAppOutput)
+ UpdateAppVersion(*resiliencehub.UpdateAppVersionInput) (*resiliencehub.UpdateAppVersionOutput, error)
+ UpdateAppVersionWithContext(aws.Context, *resiliencehub.UpdateAppVersionInput, ...request.Option) (*resiliencehub.UpdateAppVersionOutput, error)
+ UpdateAppVersionRequest(*resiliencehub.UpdateAppVersionInput) (*request.Request, *resiliencehub.UpdateAppVersionOutput)
+
+ UpdateAppVersionAppComponent(*resiliencehub.UpdateAppVersionAppComponentInput) (*resiliencehub.UpdateAppVersionAppComponentOutput, error)
+ UpdateAppVersionAppComponentWithContext(aws.Context, *resiliencehub.UpdateAppVersionAppComponentInput, ...request.Option) (*resiliencehub.UpdateAppVersionAppComponentOutput, error)
+ UpdateAppVersionAppComponentRequest(*resiliencehub.UpdateAppVersionAppComponentInput) (*request.Request, *resiliencehub.UpdateAppVersionAppComponentOutput)
+
+ UpdateAppVersionResource(*resiliencehub.UpdateAppVersionResourceInput) (*resiliencehub.UpdateAppVersionResourceOutput, error)
+ UpdateAppVersionResourceWithContext(aws.Context, *resiliencehub.UpdateAppVersionResourceInput, ...request.Option) (*resiliencehub.UpdateAppVersionResourceOutput, error)
+ UpdateAppVersionResourceRequest(*resiliencehub.UpdateAppVersionResourceInput) (*request.Request, *resiliencehub.UpdateAppVersionResourceOutput)
+
UpdateResiliencyPolicy(*resiliencehub.UpdateResiliencyPolicyInput) (*resiliencehub.UpdateResiliencyPolicyOutput, error)
UpdateResiliencyPolicyWithContext(aws.Context, *resiliencehub.UpdateResiliencyPolicyInput, ...request.Option) (*resiliencehub.UpdateResiliencyPolicyOutput, error)
UpdateResiliencyPolicyRequest(*resiliencehub.UpdateResiliencyPolicyInput) (*request.Request, *resiliencehub.UpdateResiliencyPolicyOutput)
diff --git a/service/securityhub/api.go b/service/securityhub/api.go
index f390859909b..2cd1b715045 100644
--- a/service/securityhub/api.go
+++ b/service/securityhub/api.go
@@ -3324,16 +3324,16 @@ func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (r
// Hub.
//
// When you use the EnableSecurityHub operation to enable Security Hub, you
-// also automatically enable the following standards.
+// also automatically enable the following standards:
//
-// - CIS Amazon Web Services Foundations
+// - Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark
+// v1.2.0
//
// - Amazon Web Services Foundational Security Best Practices
//
-// You do not enable the Payment Card Industry Data Security Standard (PCI DSS)
-// standard.
+// Other standards are not automatically enabled.
//
-// To not enable the automatically enabled standards, set EnableDefaultStandards
+// To opt out of automatically enabled standards, set EnableDefaultStandards
// to false.
//
// After you enable Security Hub, to enable a standard, use the BatchEnableStandards
@@ -7025,10 +7025,18 @@ type AwsApiCallAction struct {
// An ISO8601-formatted timestamp that indicates when the API call was first
// observed.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
FirstSeen *string `type:"string"`
// An ISO8601-formatted timestamp that indicates when the API call was most
// recently observed.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
LastSeen *string `type:"string"`
// Provided if CallerType is remoteIp. Provides information about the remote
@@ -7449,7 +7457,8 @@ type AwsApiGatewayRestApiDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedDate *string `type:"string"`
// A description of the REST API.
@@ -7573,7 +7582,8 @@ type AwsApiGatewayStageDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedDate *string `type:"string"`
// The identifier of the deployment that the stage points to.
@@ -7589,7 +7599,8 @@ type AwsApiGatewayStageDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastUpdatedDate *string `type:"string"`
// Defines the method settings for the stage.
@@ -7758,7 +7769,8 @@ type AwsApiGatewayV2ApiDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedDate *string `type:"string"`
// A description of the API.
@@ -7961,7 +7973,8 @@ type AwsApiGatewayV2StageDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedDate *string `type:"string"`
// Default route settings for the stage.
@@ -7981,7 +7994,8 @@ type AwsApiGatewayV2StageDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastUpdatedDate *string `type:"string"`
// The route settings for the stage.
@@ -8146,7 +8160,8 @@ type AwsAutoScalingAutoScalingGroupDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedTime *string `type:"string"`
// The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before
@@ -8761,7 +8776,8 @@ type AwsAutoScalingLaunchConfigurationDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedTime *string `type:"string"`
// Whether the launch configuration is optimized for Amazon EBS I/O.
@@ -9931,7 +9947,8 @@ type AwsCertificateManagerCertificateDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedAt *string `type:"string"`
// The fully qualified domain name (FQDN), such as www.example.com, that is
@@ -9963,7 +9980,8 @@ type AwsCertificateManagerCertificateDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ImportedAt *string `type:"string"`
// The list of ARNs for the Amazon Web Services resources that use the certificate.
@@ -9974,7 +9992,8 @@ type AwsCertificateManagerCertificateDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
IssuedAt *string `type:"string"`
// The name of the certificate authority that issued and signed the certificate.
@@ -9993,14 +10012,16 @@ type AwsCertificateManagerCertificateDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
NotAfter *string `type:"string"`
// The time before which the certificate is not valid.
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
NotBefore *string `type:"string"`
// Provides a value that specifies whether to add the certificate to a transparency
@@ -10428,7 +10449,8 @@ type AwsCertificateManagerCertificateRenewalSummary struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
UpdatedAt *string `type:"string"`
}
@@ -10915,7 +10937,8 @@ type AwsCloudFrontDistributionDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastModifiedTime *string `type:"string"`
// A complex type that controls whether access logs are written for the distribution.
@@ -12885,7 +12908,8 @@ type AwsDynamoDbTableBillingModeSummary struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastUpdateToPayPerRequestDateTime *string `type:"string"`
}
@@ -12933,7 +12957,8 @@ type AwsDynamoDbTableDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreationDateTime *string `type:"string"`
// List of global secondary indexes for the table.
@@ -13406,14 +13431,16 @@ type AwsDynamoDbTableProvisionedThroughput struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastDecreaseDateTime *string `type:"string"`
// Indicates when the provisioned throughput was last increased.
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastIncreaseDateTime *string `type:"string"`
// The number of times during the current UTC calendar day that the provisioned
@@ -13646,7 +13673,8 @@ type AwsDynamoDbTableRestoreSummary struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
RestoreDateTime *string `type:"string"`
// Whether a restore is currently in progress.
@@ -13710,7 +13738,8 @@ type AwsDynamoDbTableSseDescription struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
InaccessibleEncryptionDateTime *string `type:"string"`
// The ARN of the KMS key that is used for the KMS encryption.
@@ -13948,7 +13977,8 @@ type AwsEc2InstanceDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LaunchedAt *string `type:"string"`
// Details about the metadata options for the Amazon EC2 instance.
@@ -16654,7 +16684,8 @@ type AwsEc2NetworkInterfaceAttachment struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
AttachTime *string `type:"string"`
// The identifier of the network interface attachment
@@ -17673,7 +17704,8 @@ type AwsEc2VolumeDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateTime *string `type:"string"`
// The device name for the volume that is attached to the instance.
@@ -18627,7 +18659,8 @@ type AwsEc2VpnConnectionVgwTelemetryDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastStatusChange *string `type:"string"`
// The Internet-routable IP address of the virtual private gateway's outside
@@ -18715,7 +18748,8 @@ type AwsEcrContainerImageDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ImagePublishedAt *string `type:"string"`
// The list of tags that are associated with the image.
@@ -24376,7 +24410,8 @@ type AwsElbLoadBalancerDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedTime *string `type:"string"`
// The DNS name of the load balancer.
@@ -24924,7 +24959,8 @@ type AwsElbv2LoadBalancerDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedTime *string `type:"string"`
// The public DNS name of the load balancer.
@@ -25052,7 +25088,8 @@ type AwsIamAccessKeyDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedAt *string `type:"string"`
// The ID of the principal associated with an access key.
@@ -25200,7 +25237,8 @@ type AwsIamAccessKeySessionContextAttributes struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreationDate *string `type:"string"`
// Indicates whether the session used multi-factor authentication (MFA).
@@ -25358,7 +25396,8 @@ type AwsIamGroupDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// The identifier of the IAM group.
@@ -25471,7 +25510,8 @@ type AwsIamInstanceProfile struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// The identifier of the instance profile.
@@ -25575,7 +25615,8 @@ type AwsIamInstanceProfileRole struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// The path to the role.
@@ -25708,7 +25749,8 @@ type AwsIamPolicyDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// The identifier of the default version of the policy.
@@ -25740,7 +25782,8 @@ type AwsIamPolicyDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
UpdateDate *string `type:"string"`
}
@@ -25836,7 +25879,8 @@ type AwsIamPolicyVersion struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// Whether the version is the default version.
@@ -25896,7 +25940,8 @@ type AwsIamRoleDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// The list of instance profiles that contain this role.
@@ -26067,7 +26112,8 @@ type AwsIamUserDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreateDate *string `type:"string"`
// A list of IAM groups that the user belongs to.
@@ -26313,7 +26359,8 @@ type AwsKmsKeyDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreationDate *float64 `type:"double"`
// A description of the KMS key.
@@ -26549,7 +26596,8 @@ type AwsLambdaFunctionDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastModified *string `type:"string"`
// The function's layers.
@@ -26945,7 +26993,8 @@ type AwsLambdaLayerVersionDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedDate *string `type:"string"`
// The version number.
@@ -28226,7 +28275,8 @@ type AwsRdsDbClusterDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ClusterCreateTime *string `type:"string"`
// Whether tags are copied from the DB cluster to snapshots of the DB cluster.
@@ -28714,7 +28764,8 @@ type AwsRdsDbClusterSnapshotDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ClusterCreateTime *string `type:"string"`
// The DB cluster identifier.
@@ -28752,7 +28803,8 @@ type AwsRdsDbClusterSnapshotDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
SnapshotCreateTime *string `type:"string"`
// The type of DB cluster snapshot.
@@ -29130,7 +29182,8 @@ type AwsRdsDbInstanceDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
InstanceCreateTime *string `type:"string"`
// Specifies the provisioned IOPS (I/O operations per second) for this DB instance.
@@ -29145,7 +29198,8 @@ type AwsRdsDbInstanceDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LatestRestorableTime *string `type:"string"`
// License model information for this DB instance.
@@ -30741,7 +30795,8 @@ type AwsRdsEventSubscriptionDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
SubscriptionCreationTime *string `type:"string"`
}
@@ -31136,7 +31191,8 @@ type AwsRedshiftClusterDeferredMaintenanceWindow struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
DeferMaintenanceEndTime *string `type:"string"`
// The identifier of the maintenance window.
@@ -31146,7 +31202,8 @@ type AwsRedshiftClusterDeferredMaintenanceWindow struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
DeferMaintenanceStartTime *string `type:"string"`
}
@@ -31220,7 +31277,8 @@ type AwsRedshiftClusterDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ClusterCreateTime *string `type:"string"`
// The unique identifier of the cluster.
@@ -31293,7 +31351,8 @@ type AwsRedshiftClusterDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ExpectedNextSnapshotScheduleTime *string `type:"string"`
// The status of the next expected snapshot.
@@ -31337,7 +31396,8 @@ type AwsRedshiftClusterDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
NextMaintenanceWindowStartTime *string `type:"string"`
// The node type for the nodes in the cluster.
@@ -31870,14 +31930,16 @@ type AwsRedshiftClusterLoggingStatus struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastFailureTime *string `type:"string"`
// The last time that logs were delivered successfully.
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastSuccessfulDeliveryTime *string `type:"string"`
// Indicates whether logging is enabled.
@@ -32385,7 +32447,8 @@ type AwsS3BucketBucketLifecycleConfigurationRulesDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
ExpirationDate *string `type:"string"`
// The length in days of the lifetime for objects that are subject to the rule.
@@ -32786,7 +32849,8 @@ type AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
Date *string `type:"string"`
// The number of days after which to transition the object to the specified
@@ -32912,7 +32976,8 @@ type AwsS3BucketDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
CreatedAt *string `type:"string"`
// The Amazon Web Services account identifier of the account that owns the S3
@@ -33652,7 +33717,8 @@ type AwsS3ObjectDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastModified *string `type:"string"`
// The identifier of the KMS symmetric customer managed key that was used for
@@ -34155,7 +34221,8 @@ type AwsSecurityFinding struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
//
// CreatedAt is a required field
CreatedAt *string `type:"string" required:"true"`
@@ -34183,7 +34250,8 @@ type AwsSecurityFinding struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
FirstObservedAt *string `type:"string"`
// The identifier for the solution-specific component (a discrete unit of logic)
@@ -34203,7 +34271,8 @@ type AwsSecurityFinding struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastObservedAt *string `type:"string"`
// A list of malware related to a finding.
@@ -34311,7 +34380,8 @@ type AwsSecurityFinding struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
//
// UpdatedAt is a required field
UpdatedAt *string `type:"string" required:"true"`
@@ -34737,6 +34807,10 @@ type AwsSecurityFindingFilters struct {
// An ISO8601-formatted timestamp that indicates when the security-findings
// provider captured the potential security issue that a finding captured.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
CreatedAt []*DateFilter `type:"list"`
// The level of importance assigned to the resources associated with the finding.
@@ -34786,6 +34860,10 @@ type AwsSecurityFindingFilters struct {
// An ISO8601-formatted timestamp that indicates when the security-findings
// provider first observed the potential security issue that a finding captured.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
FirstObservedAt []*DateFilter `type:"list"`
// The identifier for the solution-specific component (a discrete unit of logic)
@@ -34804,6 +34882,10 @@ type AwsSecurityFindingFilters struct {
// An ISO8601-formatted timestamp that indicates when the security-findings
// provider most recently observed the potential security issue that a finding
// captured.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
LastObservedAt []*DateFilter `type:"list"`
// The name of the malware that was observed.
@@ -34861,7 +34943,11 @@ type AwsSecurityFindingFilters struct {
// The principal that created a note.
NoteUpdatedBy []*StringFilter `type:"list"`
- // The date/time that the process was launched.
+ // A timestamp that identifies when the process was launched.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
ProcessLaunchedAt []*DateFilter `type:"list"`
// The name of the process.
@@ -34876,7 +34962,11 @@ type AwsSecurityFindingFilters struct {
// The process ID.
ProcessPid []*NumberFilter `type:"list"`
- // The date/time that the process was terminated.
+ // A timestamp that identifies when the process was terminated.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
ProcessTerminatedAt []*DateFilter `type:"list"`
// The ARN generated by Security Hub that uniquely identifies a third-party
@@ -34962,7 +35052,11 @@ type AwsSecurityFindingFilters struct {
// The name of the image related to a finding.
ResourceContainerImageName []*StringFilter `type:"list"`
- // The date/time that the container was started.
+ // A timestamp that identifies when the container was started.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
ResourceContainerLaunchedAt []*DateFilter `type:"list"`
// The name of the container related to a finding.
@@ -35014,7 +35108,8 @@ type AwsSecurityFindingFilters struct {
// The category of a threat intelligence indicator.
ThreatIntelIndicatorCategory []*StringFilter `type:"list"`
- // The date/time of the last observation of a threat intelligence indicator.
+ // A timestamp that identifies the last observation of a threat intelligence
+ // indicator.
ThreatIntelIndicatorLastObservedAt []*DateFilter `type:"list"`
// The source of the threat intelligence.
@@ -35038,6 +35133,10 @@ type AwsSecurityFindingFilters struct {
// An ISO8601-formatted timestamp that indicates when the security-findings
// provider last updated the finding record.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
UpdatedAt []*DateFilter `type:"list"`
// A list of name/value string pairs associated with the finding. These are
@@ -39363,7 +39462,8 @@ type ContainerDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LaunchedAt *string `type:"string"`
// The name of the container related to a finding.
@@ -40146,10 +40246,18 @@ type DateFilter struct {
// A date range for the date filter.
DateRange *DateRange `type:"structure"`
- // An end date for the date filter.
+ // A timestamp that provides the end date for the date filter.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
End *string `type:"string"`
- // A start date for the date filter.
+ // A timestamp that provides the start date for the date filter.
+ //
+ // A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot
+ // contain spaces, and date and time should be separated by T. For more information,
+ // see RFC 3339 section 5.6, Internet Date/Time Format (https://www.rfc-editor.org/rfc/rfc3339#section-5.6).
Start *string `type:"string"`
}
@@ -45303,7 +45411,8 @@ type Note struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
//
// UpdatedAt is a required field
UpdatedAt *string `type:"string" required:"true"`
@@ -45649,14 +45758,16 @@ type PatchSummary struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
OperationEndTime *string `type:"string"`
// Indicates when the operation started.
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
OperationStartTime *string `type:"string"`
// The reboot option specified for the instance.
@@ -45944,7 +46055,8 @@ type ProcessDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LaunchedAt *string `type:"string"`
// The name of the process.
@@ -45963,7 +46075,8 @@ type ProcessDetails struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
TerminatedAt *string `type:"string"`
}
@@ -49654,7 +49767,8 @@ type ThreatIntelIndicator struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
LastObservedAt *string `type:"string"`
// The source of the threat intelligence indicator.
@@ -50773,7 +50887,8 @@ type VulnerabilityVendor struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
VendorCreatedAt *string `type:"string"`
// The severity that the vendor assigned to the vulnerability.
@@ -50783,7 +50898,8 @@ type VulnerabilityVendor struct {
//
// Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
// Format (https://tools.ietf.org/html/rfc3339#section-5.6). The value cannot
- // contain spaces. For example, 2020-03-22T13:22:13.933Z.
+ // contain spaces, and date and time should be separated by T. For example,
+ // 2020-03-22T13:22:13.933Z.
VendorUpdatedAt *string `type:"string"`
}
diff --git a/service/tnb/api.go b/service/tnb/api.go
new file mode 100644
index 00000000000..fb31856e106
--- /dev/null
+++ b/service/tnb/api.go
@@ -0,0 +1,9867 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package tnb
+
+import (
+ "fmt"
+ "time"
+
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/awsutil"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+const opCancelSolNetworkOperation = "CancelSolNetworkOperation"
+
+// CancelSolNetworkOperationRequest generates a "aws/request.Request" representing the
+// client's request for the CancelSolNetworkOperation operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CancelSolNetworkOperation for more information on using the CancelSolNetworkOperation
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CancelSolNetworkOperationRequest method.
+// req, resp := client.CancelSolNetworkOperationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CancelSolNetworkOperation
+func (c *Tnb) CancelSolNetworkOperationRequest(input *CancelSolNetworkOperationInput) (req *request.Request, output *CancelSolNetworkOperationOutput) {
+ op := &request.Operation{
+ Name: opCancelSolNetworkOperation,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel",
+ }
+
+ if input == nil {
+ input = &CancelSolNetworkOperationInput{}
+ }
+
+ output = &CancelSolNetworkOperationOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// CancelSolNetworkOperation API operation for AWS Telco Network Builder.
+//
+// Cancels a network operation.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation CancelSolNetworkOperation for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CancelSolNetworkOperation
+func (c *Tnb) CancelSolNetworkOperation(input *CancelSolNetworkOperationInput) (*CancelSolNetworkOperationOutput, error) {
+ req, out := c.CancelSolNetworkOperationRequest(input)
+ return out, req.Send()
+}
+
+// CancelSolNetworkOperationWithContext is the same as CancelSolNetworkOperation with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CancelSolNetworkOperation for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) CancelSolNetworkOperationWithContext(ctx aws.Context, input *CancelSolNetworkOperationInput, opts ...request.Option) (*CancelSolNetworkOperationOutput, error) {
+ req, out := c.CancelSolNetworkOperationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opCreateSolFunctionPackage = "CreateSolFunctionPackage"
+
+// CreateSolFunctionPackageRequest generates a "aws/request.Request" representing the
+// client's request for the CreateSolFunctionPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateSolFunctionPackage for more information on using the CreateSolFunctionPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateSolFunctionPackageRequest method.
+// req, resp := client.CreateSolFunctionPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolFunctionPackage
+func (c *Tnb) CreateSolFunctionPackageRequest(input *CreateSolFunctionPackageInput) (req *request.Request, output *CreateSolFunctionPackageOutput) {
+ op := &request.Operation{
+ Name: opCreateSolFunctionPackage,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages",
+ }
+
+ if input == nil {
+ input = &CreateSolFunctionPackageInput{}
+ }
+
+ output = &CreateSolFunctionPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateSolFunctionPackage API operation for AWS Telco Network Builder.
+//
+// Creates a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network. For more information,
+// see Function packages (https://docs.aws.amazon.com/tnb/latest/ug/function-packages.html)
+// in the Amazon Web Services Telco Network Builder User Guide.
+//
+// Creating a function package is the first step for creating a network in AWS
+// TNB. This request creates an empty container with an ID. The next step is
+// to upload the actual CSAR zip file into that empty container. To upload function
+// package content, see PutSolFunctionPackageContent (https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolFunctionPackageContent.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation CreateSolFunctionPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolFunctionPackage
+func (c *Tnb) CreateSolFunctionPackage(input *CreateSolFunctionPackageInput) (*CreateSolFunctionPackageOutput, error) {
+ req, out := c.CreateSolFunctionPackageRequest(input)
+ return out, req.Send()
+}
+
+// CreateSolFunctionPackageWithContext is the same as CreateSolFunctionPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateSolFunctionPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) CreateSolFunctionPackageWithContext(ctx aws.Context, input *CreateSolFunctionPackageInput, opts ...request.Option) (*CreateSolFunctionPackageOutput, error) {
+ req, out := c.CreateSolFunctionPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opCreateSolNetworkInstance = "CreateSolNetworkInstance"
+
+// CreateSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the CreateSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateSolNetworkInstance for more information on using the CreateSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateSolNetworkInstanceRequest method.
+// req, resp := client.CreateSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolNetworkInstance
+func (c *Tnb) CreateSolNetworkInstanceRequest(input *CreateSolNetworkInstanceInput) (req *request.Request, output *CreateSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opCreateSolNetworkInstance,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nslcm/v1/ns_instances",
+ }
+
+ if input == nil {
+ input = &CreateSolNetworkInstanceInput{}
+ }
+
+ output = &CreateSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Creates a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed. Creating a network instance is the
+// third step after creating a network package. For more information about network
+// instances, Network instances (https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html)
+// in the Amazon Web Services Telco Network Builder User Guide.
+//
+// Once you create a network instance, you can instantiate it. To instantiate
+// a network, see InstantiateSolNetworkInstance (https://docs.aws.amazon.com/TNB/latest/APIReference/API_InstantiateSolNetworkInstance.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation CreateSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolNetworkInstance
+func (c *Tnb) CreateSolNetworkInstance(input *CreateSolNetworkInstanceInput) (*CreateSolNetworkInstanceOutput, error) {
+ req, out := c.CreateSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// CreateSolNetworkInstanceWithContext is the same as CreateSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) CreateSolNetworkInstanceWithContext(ctx aws.Context, input *CreateSolNetworkInstanceInput, opts ...request.Option) (*CreateSolNetworkInstanceOutput, error) {
+ req, out := c.CreateSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opCreateSolNetworkPackage = "CreateSolNetworkPackage"
+
+// CreateSolNetworkPackageRequest generates a "aws/request.Request" representing the
+// client's request for the CreateSolNetworkPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See CreateSolNetworkPackage for more information on using the CreateSolNetworkPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the CreateSolNetworkPackageRequest method.
+// req, resp := client.CreateSolNetworkPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolNetworkPackage
+func (c *Tnb) CreateSolNetworkPackageRequest(input *CreateSolNetworkPackageInput) (req *request.Request, output *CreateSolNetworkPackageOutput) {
+ op := &request.Operation{
+ Name: opCreateSolNetworkPackage,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors",
+ }
+
+ if input == nil {
+ input = &CreateSolNetworkPackageInput{}
+ }
+
+ output = &CreateSolNetworkPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// CreateSolNetworkPackage API operation for AWS Telco Network Builder.
+//
+// Creates a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on. For more information, see Network instances (https://docs.aws.amazon.com/tnb/latest/ug/network-instances.html)
+// in the Amazon Web Services Telco Network Builder User Guide.
+//
+// A network package consists of a network service descriptor (NSD) file (required)
+// and any additional files (optional), such as scripts specific to your needs.
+// For example, if you have multiple function packages in your network package,
+// you can use the NSD to define which network functions should run in certain
+// VPCs, subnets, or EKS clusters.
+//
+// This request creates an empty network package container with an ID. Once
+// you create a network package, you can upload the network package content
+// using PutSolNetworkPackageContent (https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolNetworkPackageContent.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation CreateSolNetworkPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/CreateSolNetworkPackage
+func (c *Tnb) CreateSolNetworkPackage(input *CreateSolNetworkPackageInput) (*CreateSolNetworkPackageOutput, error) {
+ req, out := c.CreateSolNetworkPackageRequest(input)
+ return out, req.Send()
+}
+
+// CreateSolNetworkPackageWithContext is the same as CreateSolNetworkPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See CreateSolNetworkPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) CreateSolNetworkPackageWithContext(ctx aws.Context, input *CreateSolNetworkPackageInput, opts ...request.Option) (*CreateSolNetworkPackageOutput, error) {
+ req, out := c.CreateSolNetworkPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteSolFunctionPackage = "DeleteSolFunctionPackage"
+
+// DeleteSolFunctionPackageRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteSolFunctionPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteSolFunctionPackage for more information on using the DeleteSolFunctionPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteSolFunctionPackageRequest method.
+// req, resp := client.DeleteSolFunctionPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolFunctionPackage
+func (c *Tnb) DeleteSolFunctionPackageRequest(input *DeleteSolFunctionPackageInput) (req *request.Request, output *DeleteSolFunctionPackageOutput) {
+ op := &request.Operation{
+ Name: opDeleteSolFunctionPackage,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ }
+
+ if input == nil {
+ input = &DeleteSolFunctionPackageInput{}
+ }
+
+ output = &DeleteSolFunctionPackageOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteSolFunctionPackage API operation for AWS Telco Network Builder.
+//
+// Deletes a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// To delete a function package, the package must be in a disabled state. To
+// disable a function package, see UpdateSolFunctionPackage (https://docs.aws.amazon.com/TNB/latest/APIReference/API_UpdateSolFunctionPackage.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation DeleteSolFunctionPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolFunctionPackage
+func (c *Tnb) DeleteSolFunctionPackage(input *DeleteSolFunctionPackageInput) (*DeleteSolFunctionPackageOutput, error) {
+ req, out := c.DeleteSolFunctionPackageRequest(input)
+ return out, req.Send()
+}
+
+// DeleteSolFunctionPackageWithContext is the same as DeleteSolFunctionPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteSolFunctionPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) DeleteSolFunctionPackageWithContext(ctx aws.Context, input *DeleteSolFunctionPackageInput, opts ...request.Option) (*DeleteSolFunctionPackageOutput, error) {
+ req, out := c.DeleteSolFunctionPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteSolNetworkInstance = "DeleteSolNetworkInstance"
+
+// DeleteSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteSolNetworkInstance for more information on using the DeleteSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteSolNetworkInstanceRequest method.
+// req, resp := client.DeleteSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolNetworkInstance
+func (c *Tnb) DeleteSolNetworkInstanceRequest(input *DeleteSolNetworkInstanceInput) (req *request.Request, output *DeleteSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opDeleteSolNetworkInstance,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/sol/nslcm/v1/ns_instances/{nsInstanceId}",
+ }
+
+ if input == nil {
+ input = &DeleteSolNetworkInstanceInput{}
+ }
+
+ output = &DeleteSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Deletes a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// To delete a network instance, the instance must be in a stopped or terminated
+// state. To terminate a network instance, see TerminateSolNetworkInstance (https://docs.aws.amazon.com/TNB/latest/APIReference/API_TerminateSolNetworkInstance.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation DeleteSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolNetworkInstance
+func (c *Tnb) DeleteSolNetworkInstance(input *DeleteSolNetworkInstanceInput) (*DeleteSolNetworkInstanceOutput, error) {
+ req, out := c.DeleteSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// DeleteSolNetworkInstanceWithContext is the same as DeleteSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) DeleteSolNetworkInstanceWithContext(ctx aws.Context, input *DeleteSolNetworkInstanceInput, opts ...request.Option) (*DeleteSolNetworkInstanceOutput, error) {
+ req, out := c.DeleteSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opDeleteSolNetworkPackage = "DeleteSolNetworkPackage"
+
+// DeleteSolNetworkPackageRequest generates a "aws/request.Request" representing the
+// client's request for the DeleteSolNetworkPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See DeleteSolNetworkPackage for more information on using the DeleteSolNetworkPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the DeleteSolNetworkPackageRequest method.
+// req, resp := client.DeleteSolNetworkPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolNetworkPackage
+func (c *Tnb) DeleteSolNetworkPackageRequest(input *DeleteSolNetworkPackageInput) (req *request.Request, output *DeleteSolNetworkPackageOutput) {
+ op := &request.Operation{
+ Name: opDeleteSolNetworkPackage,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ }
+
+ if input == nil {
+ input = &DeleteSolNetworkPackageInput{}
+ }
+
+ output = &DeleteSolNetworkPackageOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// DeleteSolNetworkPackage API operation for AWS Telco Network Builder.
+//
+// Deletes network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// To delete a network package, the package must be in a disable state. To disable
+// a network package, see UpdateSolNetworkPackage (https://docs.aws.amazon.com/TNB/latest/APIReference/API_UpdateSolNetworkPackage.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation DeleteSolNetworkPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/DeleteSolNetworkPackage
+func (c *Tnb) DeleteSolNetworkPackage(input *DeleteSolNetworkPackageInput) (*DeleteSolNetworkPackageOutput, error) {
+ req, out := c.DeleteSolNetworkPackageRequest(input)
+ return out, req.Send()
+}
+
+// DeleteSolNetworkPackageWithContext is the same as DeleteSolNetworkPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See DeleteSolNetworkPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) DeleteSolNetworkPackageWithContext(ctx aws.Context, input *DeleteSolNetworkPackageInput, opts ...request.Option) (*DeleteSolNetworkPackageOutput, error) {
+ req, out := c.DeleteSolNetworkPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolFunctionInstance = "GetSolFunctionInstance"
+
+// GetSolFunctionInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolFunctionInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolFunctionInstance for more information on using the GetSolFunctionInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolFunctionInstanceRequest method.
+// req, resp := client.GetSolFunctionInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionInstance
+func (c *Tnb) GetSolFunctionInstanceRequest(input *GetSolFunctionInstanceInput) (req *request.Request, output *GetSolFunctionInstanceOutput) {
+ op := &request.Operation{
+ Name: opGetSolFunctionInstance,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnflcm/v1/vnf_instances/{vnfInstanceId}",
+ }
+
+ if input == nil {
+ input = &GetSolFunctionInstanceInput{}
+ }
+
+ output = &GetSolFunctionInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolFunctionInstance API operation for AWS Telco Network Builder.
+//
+// Gets the details of a network function instance, including the instantation
+// state and metadata from the function package descriptor in the network function
+// package.
+//
+// A network function instance is a function in a function package .
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolFunctionInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionInstance
+func (c *Tnb) GetSolFunctionInstance(input *GetSolFunctionInstanceInput) (*GetSolFunctionInstanceOutput, error) {
+ req, out := c.GetSolFunctionInstanceRequest(input)
+ return out, req.Send()
+}
+
+// GetSolFunctionInstanceWithContext is the same as GetSolFunctionInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolFunctionInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolFunctionInstanceWithContext(ctx aws.Context, input *GetSolFunctionInstanceInput, opts ...request.Option) (*GetSolFunctionInstanceOutput, error) {
+ req, out := c.GetSolFunctionInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolFunctionPackage = "GetSolFunctionPackage"
+
+// GetSolFunctionPackageRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolFunctionPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolFunctionPackage for more information on using the GetSolFunctionPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolFunctionPackageRequest method.
+// req, resp := client.GetSolFunctionPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackage
+func (c *Tnb) GetSolFunctionPackageRequest(input *GetSolFunctionPackageInput) (req *request.Request, output *GetSolFunctionPackageOutput) {
+ op := &request.Operation{
+ Name: opGetSolFunctionPackage,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ }
+
+ if input == nil {
+ input = &GetSolFunctionPackageInput{}
+ }
+
+ output = &GetSolFunctionPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolFunctionPackage API operation for AWS Telco Network Builder.
+//
+// Gets the details of an individual function package, such as the operational
+// state and whether the package is in use.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network..
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolFunctionPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackage
+func (c *Tnb) GetSolFunctionPackage(input *GetSolFunctionPackageInput) (*GetSolFunctionPackageOutput, error) {
+ req, out := c.GetSolFunctionPackageRequest(input)
+ return out, req.Send()
+}
+
+// GetSolFunctionPackageWithContext is the same as GetSolFunctionPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolFunctionPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolFunctionPackageWithContext(ctx aws.Context, input *GetSolFunctionPackageInput, opts ...request.Option) (*GetSolFunctionPackageOutput, error) {
+ req, out := c.GetSolFunctionPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolFunctionPackageContent = "GetSolFunctionPackageContent"
+
+// GetSolFunctionPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolFunctionPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolFunctionPackageContent for more information on using the GetSolFunctionPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolFunctionPackageContentRequest method.
+// req, resp := client.GetSolFunctionPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackageContent
+func (c *Tnb) GetSolFunctionPackageContentRequest(input *GetSolFunctionPackageContentInput) (req *request.Request, output *GetSolFunctionPackageContentOutput) {
+ op := &request.Operation{
+ Name: opGetSolFunctionPackageContent,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content",
+ }
+
+ if input == nil {
+ input = &GetSolFunctionPackageContentInput{}
+ }
+
+ output = &GetSolFunctionPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolFunctionPackageContent API operation for AWS Telco Network Builder.
+//
+// Gets the contents of a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolFunctionPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackageContent
+func (c *Tnb) GetSolFunctionPackageContent(input *GetSolFunctionPackageContentInput) (*GetSolFunctionPackageContentOutput, error) {
+ req, out := c.GetSolFunctionPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// GetSolFunctionPackageContentWithContext is the same as GetSolFunctionPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolFunctionPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolFunctionPackageContentWithContext(ctx aws.Context, input *GetSolFunctionPackageContentInput, opts ...request.Option) (*GetSolFunctionPackageContentOutput, error) {
+ req, out := c.GetSolFunctionPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolFunctionPackageDescriptor = "GetSolFunctionPackageDescriptor"
+
+// GetSolFunctionPackageDescriptorRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolFunctionPackageDescriptor operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolFunctionPackageDescriptor for more information on using the GetSolFunctionPackageDescriptor
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolFunctionPackageDescriptorRequest method.
+// req, resp := client.GetSolFunctionPackageDescriptorRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackageDescriptor
+func (c *Tnb) GetSolFunctionPackageDescriptorRequest(input *GetSolFunctionPackageDescriptorInput) (req *request.Request, output *GetSolFunctionPackageDescriptorOutput) {
+ op := &request.Operation{
+ Name: opGetSolFunctionPackageDescriptor,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd",
+ }
+
+ if input == nil {
+ input = &GetSolFunctionPackageDescriptorInput{}
+ }
+
+ output = &GetSolFunctionPackageDescriptorOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolFunctionPackageDescriptor API operation for AWS Telco Network Builder.
+//
+// Gets a function package descriptor in a function package.
+//
+// A function package descriptor is a .yaml file in a function package that
+// uses the TOSCA standard to describe how the network function in the function
+// package should run on your network.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolFunctionPackageDescriptor for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolFunctionPackageDescriptor
+func (c *Tnb) GetSolFunctionPackageDescriptor(input *GetSolFunctionPackageDescriptorInput) (*GetSolFunctionPackageDescriptorOutput, error) {
+ req, out := c.GetSolFunctionPackageDescriptorRequest(input)
+ return out, req.Send()
+}
+
+// GetSolFunctionPackageDescriptorWithContext is the same as GetSolFunctionPackageDescriptor with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolFunctionPackageDescriptor for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolFunctionPackageDescriptorWithContext(ctx aws.Context, input *GetSolFunctionPackageDescriptorInput, opts ...request.Option) (*GetSolFunctionPackageDescriptorOutput, error) {
+ req, out := c.GetSolFunctionPackageDescriptorRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolNetworkInstance = "GetSolNetworkInstance"
+
+// GetSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolNetworkInstance for more information on using the GetSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolNetworkInstanceRequest method.
+// req, resp := client.GetSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkInstance
+func (c *Tnb) GetSolNetworkInstanceRequest(input *GetSolNetworkInstanceInput) (req *request.Request, output *GetSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opGetSolNetworkInstance,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nslcm/v1/ns_instances/{nsInstanceId}",
+ }
+
+ if input == nil {
+ input = &GetSolNetworkInstanceInput{}
+ }
+
+ output = &GetSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Gets the details of the network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkInstance
+func (c *Tnb) GetSolNetworkInstance(input *GetSolNetworkInstanceInput) (*GetSolNetworkInstanceOutput, error) {
+ req, out := c.GetSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// GetSolNetworkInstanceWithContext is the same as GetSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolNetworkInstanceWithContext(ctx aws.Context, input *GetSolNetworkInstanceInput, opts ...request.Option) (*GetSolNetworkInstanceOutput, error) {
+ req, out := c.GetSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolNetworkOperation = "GetSolNetworkOperation"
+
+// GetSolNetworkOperationRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolNetworkOperation operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolNetworkOperation for more information on using the GetSolNetworkOperation
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolNetworkOperationRequest method.
+// req, resp := client.GetSolNetworkOperationRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkOperation
+func (c *Tnb) GetSolNetworkOperationRequest(input *GetSolNetworkOperationInput) (req *request.Request, output *GetSolNetworkOperationOutput) {
+ op := &request.Operation{
+ Name: opGetSolNetworkOperation,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}",
+ }
+
+ if input == nil {
+ input = &GetSolNetworkOperationInput{}
+ }
+
+ output = &GetSolNetworkOperationOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolNetworkOperation API operation for AWS Telco Network Builder.
+//
+// Gets the details of a network operation, including the tasks involved in
+// the network operation and the status of the tasks.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolNetworkOperation for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkOperation
+func (c *Tnb) GetSolNetworkOperation(input *GetSolNetworkOperationInput) (*GetSolNetworkOperationOutput, error) {
+ req, out := c.GetSolNetworkOperationRequest(input)
+ return out, req.Send()
+}
+
+// GetSolNetworkOperationWithContext is the same as GetSolNetworkOperation with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolNetworkOperation for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolNetworkOperationWithContext(ctx aws.Context, input *GetSolNetworkOperationInput, opts ...request.Option) (*GetSolNetworkOperationOutput, error) {
+ req, out := c.GetSolNetworkOperationRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolNetworkPackage = "GetSolNetworkPackage"
+
+// GetSolNetworkPackageRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolNetworkPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolNetworkPackage for more information on using the GetSolNetworkPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolNetworkPackageRequest method.
+// req, resp := client.GetSolNetworkPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackage
+func (c *Tnb) GetSolNetworkPackageRequest(input *GetSolNetworkPackageInput) (req *request.Request, output *GetSolNetworkPackageOutput) {
+ op := &request.Operation{
+ Name: opGetSolNetworkPackage,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ }
+
+ if input == nil {
+ input = &GetSolNetworkPackageInput{}
+ }
+
+ output = &GetSolNetworkPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolNetworkPackage API operation for AWS Telco Network Builder.
+//
+// Gets the details of a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolNetworkPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackage
+func (c *Tnb) GetSolNetworkPackage(input *GetSolNetworkPackageInput) (*GetSolNetworkPackageOutput, error) {
+ req, out := c.GetSolNetworkPackageRequest(input)
+ return out, req.Send()
+}
+
+// GetSolNetworkPackageWithContext is the same as GetSolNetworkPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolNetworkPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolNetworkPackageWithContext(ctx aws.Context, input *GetSolNetworkPackageInput, opts ...request.Option) (*GetSolNetworkPackageOutput, error) {
+ req, out := c.GetSolNetworkPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolNetworkPackageContent = "GetSolNetworkPackageContent"
+
+// GetSolNetworkPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolNetworkPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolNetworkPackageContent for more information on using the GetSolNetworkPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolNetworkPackageContentRequest method.
+// req, resp := client.GetSolNetworkPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackageContent
+func (c *Tnb) GetSolNetworkPackageContentRequest(input *GetSolNetworkPackageContentInput) (req *request.Request, output *GetSolNetworkPackageContentOutput) {
+ op := &request.Operation{
+ Name: opGetSolNetworkPackageContent,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content",
+ }
+
+ if input == nil {
+ input = &GetSolNetworkPackageContentInput{}
+ }
+
+ output = &GetSolNetworkPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolNetworkPackageContent API operation for AWS Telco Network Builder.
+//
+// Gets the contents of a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolNetworkPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackageContent
+func (c *Tnb) GetSolNetworkPackageContent(input *GetSolNetworkPackageContentInput) (*GetSolNetworkPackageContentOutput, error) {
+ req, out := c.GetSolNetworkPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// GetSolNetworkPackageContentWithContext is the same as GetSolNetworkPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolNetworkPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolNetworkPackageContentWithContext(ctx aws.Context, input *GetSolNetworkPackageContentInput, opts ...request.Option) (*GetSolNetworkPackageContentOutput, error) {
+ req, out := c.GetSolNetworkPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opGetSolNetworkPackageDescriptor = "GetSolNetworkPackageDescriptor"
+
+// GetSolNetworkPackageDescriptorRequest generates a "aws/request.Request" representing the
+// client's request for the GetSolNetworkPackageDescriptor operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See GetSolNetworkPackageDescriptor for more information on using the GetSolNetworkPackageDescriptor
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the GetSolNetworkPackageDescriptorRequest method.
+// req, resp := client.GetSolNetworkPackageDescriptorRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackageDescriptor
+func (c *Tnb) GetSolNetworkPackageDescriptorRequest(input *GetSolNetworkPackageDescriptorInput) (req *request.Request, output *GetSolNetworkPackageDescriptorOutput) {
+ op := &request.Operation{
+ Name: opGetSolNetworkPackageDescriptor,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd",
+ }
+
+ if input == nil {
+ input = &GetSolNetworkPackageDescriptorInput{}
+ }
+
+ output = &GetSolNetworkPackageDescriptorOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// GetSolNetworkPackageDescriptor API operation for AWS Telco Network Builder.
+//
+// Gets the content of the network service descriptor.
+//
+// A network service descriptor is a .yaml file in a network package that uses
+// the TOSCA standard to describe the network functions you want to deploy and
+// the Amazon Web Services infrastructure you want to deploy the network functions
+// on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation GetSolNetworkPackageDescriptor for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/GetSolNetworkPackageDescriptor
+func (c *Tnb) GetSolNetworkPackageDescriptor(input *GetSolNetworkPackageDescriptorInput) (*GetSolNetworkPackageDescriptorOutput, error) {
+ req, out := c.GetSolNetworkPackageDescriptorRequest(input)
+ return out, req.Send()
+}
+
+// GetSolNetworkPackageDescriptorWithContext is the same as GetSolNetworkPackageDescriptor with the addition of
+// the ability to pass a context and additional request options.
+//
+// See GetSolNetworkPackageDescriptor for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) GetSolNetworkPackageDescriptorWithContext(ctx aws.Context, input *GetSolNetworkPackageDescriptorInput, opts ...request.Option) (*GetSolNetworkPackageDescriptorOutput, error) {
+ req, out := c.GetSolNetworkPackageDescriptorRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opInstantiateSolNetworkInstance = "InstantiateSolNetworkInstance"
+
+// InstantiateSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the InstantiateSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See InstantiateSolNetworkInstance for more information on using the InstantiateSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the InstantiateSolNetworkInstanceRequest method.
+// req, resp := client.InstantiateSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/InstantiateSolNetworkInstance
+func (c *Tnb) InstantiateSolNetworkInstanceRequest(input *InstantiateSolNetworkInstanceInput) (req *request.Request, output *InstantiateSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opInstantiateSolNetworkInstance,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate",
+ }
+
+ if input == nil {
+ input = &InstantiateSolNetworkInstanceInput{}
+ }
+
+ output = &InstantiateSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// InstantiateSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Instantiates a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// Before you can instantiate a network instance, you have to create a network
+// instance. For more information, see CreateSolNetworkInstance (https://docs.aws.amazon.com/TNB/latest/APIReference/API_CreateSolNetworkInstance.html).
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation InstantiateSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/InstantiateSolNetworkInstance
+func (c *Tnb) InstantiateSolNetworkInstance(input *InstantiateSolNetworkInstanceInput) (*InstantiateSolNetworkInstanceOutput, error) {
+ req, out := c.InstantiateSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// InstantiateSolNetworkInstanceWithContext is the same as InstantiateSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See InstantiateSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) InstantiateSolNetworkInstanceWithContext(ctx aws.Context, input *InstantiateSolNetworkInstanceInput, opts ...request.Option) (*InstantiateSolNetworkInstanceOutput, error) {
+ req, out := c.InstantiateSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opListSolFunctionInstances = "ListSolFunctionInstances"
+
+// ListSolFunctionInstancesRequest generates a "aws/request.Request" representing the
+// client's request for the ListSolFunctionInstances operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSolFunctionInstances for more information on using the ListSolFunctionInstances
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSolFunctionInstancesRequest method.
+// req, resp := client.ListSolFunctionInstancesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolFunctionInstances
+func (c *Tnb) ListSolFunctionInstancesRequest(input *ListSolFunctionInstancesInput) (req *request.Request, output *ListSolFunctionInstancesOutput) {
+ op := &request.Operation{
+ Name: opListSolFunctionInstances,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnflcm/v1/vnf_instances",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListSolFunctionInstancesInput{}
+ }
+
+ output = &ListSolFunctionInstancesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSolFunctionInstances API operation for AWS Telco Network Builder.
+//
+// Lists network function instances.
+//
+// A network function instance is a function in a function package .
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListSolFunctionInstances for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolFunctionInstances
+func (c *Tnb) ListSolFunctionInstances(input *ListSolFunctionInstancesInput) (*ListSolFunctionInstancesOutput, error) {
+ req, out := c.ListSolFunctionInstancesRequest(input)
+ return out, req.Send()
+}
+
+// ListSolFunctionInstancesWithContext is the same as ListSolFunctionInstances with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSolFunctionInstances for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolFunctionInstancesWithContext(ctx aws.Context, input *ListSolFunctionInstancesInput, opts ...request.Option) (*ListSolFunctionInstancesOutput, error) {
+ req, out := c.ListSolFunctionInstancesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListSolFunctionInstancesPages iterates over the pages of a ListSolFunctionInstances operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSolFunctionInstances method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSolFunctionInstances operation.
+// pageNum := 0
+// err := client.ListSolFunctionInstancesPages(params,
+// func(page *tnb.ListSolFunctionInstancesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Tnb) ListSolFunctionInstancesPages(input *ListSolFunctionInstancesInput, fn func(*ListSolFunctionInstancesOutput, bool) bool) error {
+ return c.ListSolFunctionInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSolFunctionInstancesPagesWithContext same as ListSolFunctionInstancesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolFunctionInstancesPagesWithContext(ctx aws.Context, input *ListSolFunctionInstancesInput, fn func(*ListSolFunctionInstancesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSolFunctionInstancesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSolFunctionInstancesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSolFunctionInstancesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSolFunctionPackages = "ListSolFunctionPackages"
+
+// ListSolFunctionPackagesRequest generates a "aws/request.Request" representing the
+// client's request for the ListSolFunctionPackages operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSolFunctionPackages for more information on using the ListSolFunctionPackages
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSolFunctionPackagesRequest method.
+// req, resp := client.ListSolFunctionPackagesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolFunctionPackages
+func (c *Tnb) ListSolFunctionPackagesRequest(input *ListSolFunctionPackagesInput) (req *request.Request, output *ListSolFunctionPackagesOutput) {
+ op := &request.Operation{
+ Name: opListSolFunctionPackages,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListSolFunctionPackagesInput{}
+ }
+
+ output = &ListSolFunctionPackagesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSolFunctionPackages API operation for AWS Telco Network Builder.
+//
+// Lists information about function packages.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListSolFunctionPackages for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolFunctionPackages
+func (c *Tnb) ListSolFunctionPackages(input *ListSolFunctionPackagesInput) (*ListSolFunctionPackagesOutput, error) {
+ req, out := c.ListSolFunctionPackagesRequest(input)
+ return out, req.Send()
+}
+
+// ListSolFunctionPackagesWithContext is the same as ListSolFunctionPackages with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSolFunctionPackages for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolFunctionPackagesWithContext(ctx aws.Context, input *ListSolFunctionPackagesInput, opts ...request.Option) (*ListSolFunctionPackagesOutput, error) {
+ req, out := c.ListSolFunctionPackagesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListSolFunctionPackagesPages iterates over the pages of a ListSolFunctionPackages operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSolFunctionPackages method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSolFunctionPackages operation.
+// pageNum := 0
+// err := client.ListSolFunctionPackagesPages(params,
+// func(page *tnb.ListSolFunctionPackagesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Tnb) ListSolFunctionPackagesPages(input *ListSolFunctionPackagesInput, fn func(*ListSolFunctionPackagesOutput, bool) bool) error {
+ return c.ListSolFunctionPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSolFunctionPackagesPagesWithContext same as ListSolFunctionPackagesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolFunctionPackagesPagesWithContext(ctx aws.Context, input *ListSolFunctionPackagesInput, fn func(*ListSolFunctionPackagesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSolFunctionPackagesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSolFunctionPackagesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSolFunctionPackagesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSolNetworkInstances = "ListSolNetworkInstances"
+
+// ListSolNetworkInstancesRequest generates a "aws/request.Request" representing the
+// client's request for the ListSolNetworkInstances operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSolNetworkInstances for more information on using the ListSolNetworkInstances
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSolNetworkInstancesRequest method.
+// req, resp := client.ListSolNetworkInstancesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkInstances
+func (c *Tnb) ListSolNetworkInstancesRequest(input *ListSolNetworkInstancesInput) (req *request.Request, output *ListSolNetworkInstancesOutput) {
+ op := &request.Operation{
+ Name: opListSolNetworkInstances,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nslcm/v1/ns_instances",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListSolNetworkInstancesInput{}
+ }
+
+ output = &ListSolNetworkInstancesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSolNetworkInstances API operation for AWS Telco Network Builder.
+//
+// Lists your network instances.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListSolNetworkInstances for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkInstances
+func (c *Tnb) ListSolNetworkInstances(input *ListSolNetworkInstancesInput) (*ListSolNetworkInstancesOutput, error) {
+ req, out := c.ListSolNetworkInstancesRequest(input)
+ return out, req.Send()
+}
+
+// ListSolNetworkInstancesWithContext is the same as ListSolNetworkInstances with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSolNetworkInstances for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkInstancesWithContext(ctx aws.Context, input *ListSolNetworkInstancesInput, opts ...request.Option) (*ListSolNetworkInstancesOutput, error) {
+ req, out := c.ListSolNetworkInstancesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListSolNetworkInstancesPages iterates over the pages of a ListSolNetworkInstances operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSolNetworkInstances method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSolNetworkInstances operation.
+// pageNum := 0
+// err := client.ListSolNetworkInstancesPages(params,
+// func(page *tnb.ListSolNetworkInstancesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Tnb) ListSolNetworkInstancesPages(input *ListSolNetworkInstancesInput, fn func(*ListSolNetworkInstancesOutput, bool) bool) error {
+ return c.ListSolNetworkInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSolNetworkInstancesPagesWithContext same as ListSolNetworkInstancesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkInstancesPagesWithContext(ctx aws.Context, input *ListSolNetworkInstancesInput, fn func(*ListSolNetworkInstancesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSolNetworkInstancesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSolNetworkInstancesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSolNetworkInstancesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSolNetworkOperations = "ListSolNetworkOperations"
+
+// ListSolNetworkOperationsRequest generates a "aws/request.Request" representing the
+// client's request for the ListSolNetworkOperations operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSolNetworkOperations for more information on using the ListSolNetworkOperations
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSolNetworkOperationsRequest method.
+// req, resp := client.ListSolNetworkOperationsRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkOperations
+func (c *Tnb) ListSolNetworkOperationsRequest(input *ListSolNetworkOperationsInput) (req *request.Request, output *ListSolNetworkOperationsOutput) {
+ op := &request.Operation{
+ Name: opListSolNetworkOperations,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nslcm/v1/ns_lcm_op_occs",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListSolNetworkOperationsInput{}
+ }
+
+ output = &ListSolNetworkOperationsOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSolNetworkOperations API operation for AWS Telco Network Builder.
+//
+// Lists details for a network operation, including when the operation started
+// and the status of the operation.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListSolNetworkOperations for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkOperations
+func (c *Tnb) ListSolNetworkOperations(input *ListSolNetworkOperationsInput) (*ListSolNetworkOperationsOutput, error) {
+ req, out := c.ListSolNetworkOperationsRequest(input)
+ return out, req.Send()
+}
+
+// ListSolNetworkOperationsWithContext is the same as ListSolNetworkOperations with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSolNetworkOperations for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkOperationsWithContext(ctx aws.Context, input *ListSolNetworkOperationsInput, opts ...request.Option) (*ListSolNetworkOperationsOutput, error) {
+ req, out := c.ListSolNetworkOperationsRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListSolNetworkOperationsPages iterates over the pages of a ListSolNetworkOperations operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSolNetworkOperations method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSolNetworkOperations operation.
+// pageNum := 0
+// err := client.ListSolNetworkOperationsPages(params,
+// func(page *tnb.ListSolNetworkOperationsOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Tnb) ListSolNetworkOperationsPages(input *ListSolNetworkOperationsInput, fn func(*ListSolNetworkOperationsOutput, bool) bool) error {
+ return c.ListSolNetworkOperationsPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSolNetworkOperationsPagesWithContext same as ListSolNetworkOperationsPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkOperationsPagesWithContext(ctx aws.Context, input *ListSolNetworkOperationsInput, fn func(*ListSolNetworkOperationsOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSolNetworkOperationsInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSolNetworkOperationsRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSolNetworkOperationsOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListSolNetworkPackages = "ListSolNetworkPackages"
+
+// ListSolNetworkPackagesRequest generates a "aws/request.Request" representing the
+// client's request for the ListSolNetworkPackages operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListSolNetworkPackages for more information on using the ListSolNetworkPackages
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListSolNetworkPackagesRequest method.
+// req, resp := client.ListSolNetworkPackagesRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkPackages
+func (c *Tnb) ListSolNetworkPackagesRequest(input *ListSolNetworkPackagesInput) (req *request.Request, output *ListSolNetworkPackagesOutput) {
+ op := &request.Operation{
+ Name: opListSolNetworkPackages,
+ HTTPMethod: "GET",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors",
+ Paginator: &request.Paginator{
+ InputTokens: []string{"nextToken"},
+ OutputTokens: []string{"nextToken"},
+ LimitToken: "maxResults",
+ TruncationToken: "",
+ },
+ }
+
+ if input == nil {
+ input = &ListSolNetworkPackagesInput{}
+ }
+
+ output = &ListSolNetworkPackagesOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListSolNetworkPackages API operation for AWS Telco Network Builder.
+//
+// Lists network packages.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListSolNetworkPackages for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListSolNetworkPackages
+func (c *Tnb) ListSolNetworkPackages(input *ListSolNetworkPackagesInput) (*ListSolNetworkPackagesOutput, error) {
+ req, out := c.ListSolNetworkPackagesRequest(input)
+ return out, req.Send()
+}
+
+// ListSolNetworkPackagesWithContext is the same as ListSolNetworkPackages with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListSolNetworkPackages for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkPackagesWithContext(ctx aws.Context, input *ListSolNetworkPackagesInput, opts ...request.Option) (*ListSolNetworkPackagesOutput, error) {
+ req, out := c.ListSolNetworkPackagesRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// ListSolNetworkPackagesPages iterates over the pages of a ListSolNetworkPackages operation,
+// calling the "fn" function with the response data for each page. To stop
+// iterating, return false from the fn function.
+//
+// See ListSolNetworkPackages method for more information on how to use this operation.
+//
+// Note: This operation can generate multiple requests to a service.
+//
+// // Example iterating over at most 3 pages of a ListSolNetworkPackages operation.
+// pageNum := 0
+// err := client.ListSolNetworkPackagesPages(params,
+// func(page *tnb.ListSolNetworkPackagesOutput, lastPage bool) bool {
+// pageNum++
+// fmt.Println(page)
+// return pageNum <= 3
+// })
+func (c *Tnb) ListSolNetworkPackagesPages(input *ListSolNetworkPackagesInput, fn func(*ListSolNetworkPackagesOutput, bool) bool) error {
+ return c.ListSolNetworkPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
+}
+
+// ListSolNetworkPackagesPagesWithContext same as ListSolNetworkPackagesPages except
+// it takes a Context and allows setting request options on the pages.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListSolNetworkPackagesPagesWithContext(ctx aws.Context, input *ListSolNetworkPackagesInput, fn func(*ListSolNetworkPackagesOutput, bool) bool, opts ...request.Option) error {
+ p := request.Pagination{
+ NewRequest: func() (*request.Request, error) {
+ var inCpy *ListSolNetworkPackagesInput
+ if input != nil {
+ tmp := *input
+ inCpy = &tmp
+ }
+ req, _ := c.ListSolNetworkPackagesRequest(inCpy)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return req, nil
+ },
+ }
+
+ for p.Next() {
+ if !fn(p.Page().(*ListSolNetworkPackagesOutput), !p.HasNextPage()) {
+ break
+ }
+ }
+
+ return p.Err()
+}
+
+const opListTagsForResource = "ListTagsForResource"
+
+// ListTagsForResourceRequest generates a "aws/request.Request" representing the
+// client's request for the ListTagsForResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ListTagsForResource for more information on using the ListTagsForResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ListTagsForResourceRequest method.
+// req, resp := client.ListTagsForResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListTagsForResource
+func (c *Tnb) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
+ op := &request.Operation{
+ Name: opListTagsForResource,
+ HTTPMethod: "GET",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &ListTagsForResourceInput{}
+ }
+
+ output = &ListTagsForResourceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ListTagsForResource API operation for AWS Telco Network Builder.
+//
+// Lists tags for AWS TNB resources.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ListTagsForResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ListTagsForResource
+func (c *Tnb) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ return out, req.Send()
+}
+
+// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ListTagsForResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
+ req, out := c.ListTagsForResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutSolFunctionPackageContent = "PutSolFunctionPackageContent"
+
+// PutSolFunctionPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the PutSolFunctionPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutSolFunctionPackageContent for more information on using the PutSolFunctionPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutSolFunctionPackageContentRequest method.
+// req, resp := client.PutSolFunctionPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/PutSolFunctionPackageContent
+func (c *Tnb) PutSolFunctionPackageContentRequest(input *PutSolFunctionPackageContentInput) (req *request.Request, output *PutSolFunctionPackageContentOutput) {
+ op := &request.Operation{
+ Name: opPutSolFunctionPackageContent,
+ HTTPMethod: "PUT",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content",
+ }
+
+ if input == nil {
+ input = &PutSolFunctionPackageContentInput{}
+ }
+
+ output = &PutSolFunctionPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutSolFunctionPackageContent API operation for AWS Telco Network Builder.
+//
+// Uploads the contents of a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation PutSolFunctionPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/PutSolFunctionPackageContent
+func (c *Tnb) PutSolFunctionPackageContent(input *PutSolFunctionPackageContentInput) (*PutSolFunctionPackageContentOutput, error) {
+ req, out := c.PutSolFunctionPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// PutSolFunctionPackageContentWithContext is the same as PutSolFunctionPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutSolFunctionPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) PutSolFunctionPackageContentWithContext(ctx aws.Context, input *PutSolFunctionPackageContentInput, opts ...request.Option) (*PutSolFunctionPackageContentOutput, error) {
+ req, out := c.PutSolFunctionPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opPutSolNetworkPackageContent = "PutSolNetworkPackageContent"
+
+// PutSolNetworkPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the PutSolNetworkPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See PutSolNetworkPackageContent for more information on using the PutSolNetworkPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the PutSolNetworkPackageContentRequest method.
+// req, resp := client.PutSolNetworkPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/PutSolNetworkPackageContent
+func (c *Tnb) PutSolNetworkPackageContentRequest(input *PutSolNetworkPackageContentInput) (req *request.Request, output *PutSolNetworkPackageContentOutput) {
+ op := &request.Operation{
+ Name: opPutSolNetworkPackageContent,
+ HTTPMethod: "PUT",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content",
+ }
+
+ if input == nil {
+ input = &PutSolNetworkPackageContentInput{}
+ }
+
+ output = &PutSolNetworkPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// PutSolNetworkPackageContent API operation for AWS Telco Network Builder.
+//
+// Uploads the contents of a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation PutSolNetworkPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/PutSolNetworkPackageContent
+func (c *Tnb) PutSolNetworkPackageContent(input *PutSolNetworkPackageContentInput) (*PutSolNetworkPackageContentOutput, error) {
+ req, out := c.PutSolNetworkPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// PutSolNetworkPackageContentWithContext is the same as PutSolNetworkPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See PutSolNetworkPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) PutSolNetworkPackageContentWithContext(ctx aws.Context, input *PutSolNetworkPackageContentInput, opts ...request.Option) (*PutSolNetworkPackageContentOutput, error) {
+ req, out := c.PutSolNetworkPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTagResource = "TagResource"
+
+// TagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the TagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TagResource for more information on using the TagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TagResourceRequest method.
+// req, resp := client.TagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/TagResource
+func (c *Tnb) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
+ op := &request.Operation{
+ Name: opTagResource,
+ HTTPMethod: "POST",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &TagResourceInput{}
+ }
+
+ output = &TagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// TagResource API operation for AWS Telco Network Builder.
+//
+// Tags an AWS TNB resource.
+//
+// A tag is a label that you assign to an Amazon Web Services resource. Each
+// tag consists of a key and an optional value. You can use tags to search and
+// filter your resources or track your Amazon Web Services costs.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation TagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/TagResource
+func (c *Tnb) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ return out, req.Send()
+}
+
+// TagResourceWithContext is the same as TagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
+ req, out := c.TagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opTerminateSolNetworkInstance = "TerminateSolNetworkInstance"
+
+// TerminateSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the TerminateSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See TerminateSolNetworkInstance for more information on using the TerminateSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the TerminateSolNetworkInstanceRequest method.
+// req, resp := client.TerminateSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/TerminateSolNetworkInstance
+func (c *Tnb) TerminateSolNetworkInstanceRequest(input *TerminateSolNetworkInstanceInput) (req *request.Request, output *TerminateSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opTerminateSolNetworkInstance,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate",
+ }
+
+ if input == nil {
+ input = &TerminateSolNetworkInstanceInput{}
+ }
+
+ output = &TerminateSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// TerminateSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Terminates a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// You must terminate a network instance before you can delete it.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation TerminateSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/TerminateSolNetworkInstance
+func (c *Tnb) TerminateSolNetworkInstance(input *TerminateSolNetworkInstanceInput) (*TerminateSolNetworkInstanceOutput, error) {
+ req, out := c.TerminateSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// TerminateSolNetworkInstanceWithContext is the same as TerminateSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See TerminateSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) TerminateSolNetworkInstanceWithContext(ctx aws.Context, input *TerminateSolNetworkInstanceInput, opts ...request.Option) (*TerminateSolNetworkInstanceOutput, error) {
+ req, out := c.TerminateSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUntagResource = "UntagResource"
+
+// UntagResourceRequest generates a "aws/request.Request" representing the
+// client's request for the UntagResource operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UntagResource for more information on using the UntagResource
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UntagResourceRequest method.
+// req, resp := client.UntagResourceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UntagResource
+func (c *Tnb) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
+ op := &request.Operation{
+ Name: opUntagResource,
+ HTTPMethod: "DELETE",
+ HTTPPath: "/tags/{resourceArn}",
+ }
+
+ if input == nil {
+ input = &UntagResourceInput{}
+ }
+
+ output = &UntagResourceOutput{}
+ req = c.newRequest(op, input, output)
+ req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
+ return
+}
+
+// UntagResource API operation for AWS Telco Network Builder.
+//
+// Untags an AWS TNB resource.
+//
+// A tag is a label that you assign to an Amazon Web Services resource. Each
+// tag consists of a key and an optional value. You can use tags to search and
+// filter your resources or track your Amazon Web Services costs.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation UntagResource for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UntagResource
+func (c *Tnb) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ return out, req.Send()
+}
+
+// UntagResourceWithContext is the same as UntagResource with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UntagResource for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
+ req, out := c.UntagResourceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateSolFunctionPackage = "UpdateSolFunctionPackage"
+
+// UpdateSolFunctionPackageRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateSolFunctionPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateSolFunctionPackage for more information on using the UpdateSolFunctionPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateSolFunctionPackageRequest method.
+// req, resp := client.UpdateSolFunctionPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolFunctionPackage
+func (c *Tnb) UpdateSolFunctionPackageRequest(input *UpdateSolFunctionPackageInput) (req *request.Request, output *UpdateSolFunctionPackageOutput) {
+ op := &request.Operation{
+ Name: opUpdateSolFunctionPackage,
+ HTTPMethod: "PATCH",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}",
+ }
+
+ if input == nil {
+ input = &UpdateSolFunctionPackageInput{}
+ }
+
+ output = &UpdateSolFunctionPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateSolFunctionPackage API operation for AWS Telco Network Builder.
+//
+// Updates the operational state of function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation UpdateSolFunctionPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolFunctionPackage
+func (c *Tnb) UpdateSolFunctionPackage(input *UpdateSolFunctionPackageInput) (*UpdateSolFunctionPackageOutput, error) {
+ req, out := c.UpdateSolFunctionPackageRequest(input)
+ return out, req.Send()
+}
+
+// UpdateSolFunctionPackageWithContext is the same as UpdateSolFunctionPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateSolFunctionPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) UpdateSolFunctionPackageWithContext(ctx aws.Context, input *UpdateSolFunctionPackageInput, opts ...request.Option) (*UpdateSolFunctionPackageOutput, error) {
+ req, out := c.UpdateSolFunctionPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateSolNetworkInstance = "UpdateSolNetworkInstance"
+
+// UpdateSolNetworkInstanceRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateSolNetworkInstance operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateSolNetworkInstance for more information on using the UpdateSolNetworkInstance
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateSolNetworkInstanceRequest method.
+// req, resp := client.UpdateSolNetworkInstanceRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolNetworkInstance
+func (c *Tnb) UpdateSolNetworkInstanceRequest(input *UpdateSolNetworkInstanceInput) (req *request.Request, output *UpdateSolNetworkInstanceOutput) {
+ op := &request.Operation{
+ Name: opUpdateSolNetworkInstance,
+ HTTPMethod: "POST",
+ HTTPPath: "/sol/nslcm/v1/ns_instances/{nsInstanceId}/update",
+ }
+
+ if input == nil {
+ input = &UpdateSolNetworkInstanceInput{}
+ }
+
+ output = &UpdateSolNetworkInstanceOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateSolNetworkInstance API operation for AWS Telco Network Builder.
+//
+// Update a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation UpdateSolNetworkInstance for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ServiceQuotaExceededException
+// Service quotas have been exceeded.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolNetworkInstance
+func (c *Tnb) UpdateSolNetworkInstance(input *UpdateSolNetworkInstanceInput) (*UpdateSolNetworkInstanceOutput, error) {
+ req, out := c.UpdateSolNetworkInstanceRequest(input)
+ return out, req.Send()
+}
+
+// UpdateSolNetworkInstanceWithContext is the same as UpdateSolNetworkInstance with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateSolNetworkInstance for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) UpdateSolNetworkInstanceWithContext(ctx aws.Context, input *UpdateSolNetworkInstanceInput, opts ...request.Option) (*UpdateSolNetworkInstanceOutput, error) {
+ req, out := c.UpdateSolNetworkInstanceRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opUpdateSolNetworkPackage = "UpdateSolNetworkPackage"
+
+// UpdateSolNetworkPackageRequest generates a "aws/request.Request" representing the
+// client's request for the UpdateSolNetworkPackage operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See UpdateSolNetworkPackage for more information on using the UpdateSolNetworkPackage
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the UpdateSolNetworkPackageRequest method.
+// req, resp := client.UpdateSolNetworkPackageRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolNetworkPackage
+func (c *Tnb) UpdateSolNetworkPackageRequest(input *UpdateSolNetworkPackageInput) (req *request.Request, output *UpdateSolNetworkPackageOutput) {
+ op := &request.Operation{
+ Name: opUpdateSolNetworkPackage,
+ HTTPMethod: "PATCH",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}",
+ }
+
+ if input == nil {
+ input = &UpdateSolNetworkPackageInput{}
+ }
+
+ output = &UpdateSolNetworkPackageOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// UpdateSolNetworkPackage API operation for AWS Telco Network Builder.
+//
+// Updates the operational state of a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// A network service descriptor is a .yaml file in a network package that uses
+// the TOSCA standard to describe the network functions you want to deploy and
+// the Amazon Web Services infrastructure you want to deploy the network functions
+// on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation UpdateSolNetworkPackage for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/UpdateSolNetworkPackage
+func (c *Tnb) UpdateSolNetworkPackage(input *UpdateSolNetworkPackageInput) (*UpdateSolNetworkPackageOutput, error) {
+ req, out := c.UpdateSolNetworkPackageRequest(input)
+ return out, req.Send()
+}
+
+// UpdateSolNetworkPackageWithContext is the same as UpdateSolNetworkPackage with the addition of
+// the ability to pass a context and additional request options.
+//
+// See UpdateSolNetworkPackage for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) UpdateSolNetworkPackageWithContext(ctx aws.Context, input *UpdateSolNetworkPackageInput, opts ...request.Option) (*UpdateSolNetworkPackageOutput, error) {
+ req, out := c.UpdateSolNetworkPackageRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opValidateSolFunctionPackageContent = "ValidateSolFunctionPackageContent"
+
+// ValidateSolFunctionPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the ValidateSolFunctionPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ValidateSolFunctionPackageContent for more information on using the ValidateSolFunctionPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ValidateSolFunctionPackageContentRequest method.
+// req, resp := client.ValidateSolFunctionPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ValidateSolFunctionPackageContent
+func (c *Tnb) ValidateSolFunctionPackageContentRequest(input *ValidateSolFunctionPackageContentInput) (req *request.Request, output *ValidateSolFunctionPackageContentOutput) {
+ op := &request.Operation{
+ Name: opValidateSolFunctionPackageContent,
+ HTTPMethod: "PUT",
+ HTTPPath: "/sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate",
+ }
+
+ if input == nil {
+ input = &ValidateSolFunctionPackageContentInput{}
+ }
+
+ output = &ValidateSolFunctionPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ValidateSolFunctionPackageContent API operation for AWS Telco Network Builder.
+//
+// Validates function package content. This can be used as a dry run before
+// uploading function package content with PutSolFunctionPackageContent (https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolFunctionPackageContent.html).
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ValidateSolFunctionPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ValidateSolFunctionPackageContent
+func (c *Tnb) ValidateSolFunctionPackageContent(input *ValidateSolFunctionPackageContentInput) (*ValidateSolFunctionPackageContentOutput, error) {
+ req, out := c.ValidateSolFunctionPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// ValidateSolFunctionPackageContentWithContext is the same as ValidateSolFunctionPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ValidateSolFunctionPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ValidateSolFunctionPackageContentWithContext(ctx aws.Context, input *ValidateSolFunctionPackageContentInput, opts ...request.Option) (*ValidateSolFunctionPackageContentOutput, error) {
+ req, out := c.ValidateSolFunctionPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+const opValidateSolNetworkPackageContent = "ValidateSolNetworkPackageContent"
+
+// ValidateSolNetworkPackageContentRequest generates a "aws/request.Request" representing the
+// client's request for the ValidateSolNetworkPackageContent operation. The "output" return
+// value will be populated with the request's response once the request completes
+// successfully.
+//
+// Use "Send" method on the returned Request to send the API call to the service.
+// the "output" return value is not valid until after Send returns without error.
+//
+// See ValidateSolNetworkPackageContent for more information on using the ValidateSolNetworkPackageContent
+// API call, and error handling.
+//
+// This method is useful when you want to inject custom logic or configuration
+// into the SDK's request lifecycle. Such as custom headers, or retry logic.
+//
+// // Example sending a request using the ValidateSolNetworkPackageContentRequest method.
+// req, resp := client.ValidateSolNetworkPackageContentRequest(params)
+//
+// err := req.Send()
+// if err == nil { // resp is now filled
+// fmt.Println(resp)
+// }
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ValidateSolNetworkPackageContent
+func (c *Tnb) ValidateSolNetworkPackageContentRequest(input *ValidateSolNetworkPackageContentInput) (req *request.Request, output *ValidateSolNetworkPackageContentOutput) {
+ op := &request.Operation{
+ Name: opValidateSolNetworkPackageContent,
+ HTTPMethod: "PUT",
+ HTTPPath: "/sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate",
+ }
+
+ if input == nil {
+ input = &ValidateSolNetworkPackageContentInput{}
+ }
+
+ output = &ValidateSolNetworkPackageContentOutput{}
+ req = c.newRequest(op, input, output)
+ return
+}
+
+// ValidateSolNetworkPackageContent API operation for AWS Telco Network Builder.
+//
+// Validates network package content. This can be used as a dry run before uploading
+// network package content with PutSolNetworkPackageContent (https://docs.aws.amazon.com/TNB/latest/APIReference/API_PutSolNetworkPackageContent.html).
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+//
+// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
+// with awserr.Error's Code and Message methods to get detailed information about
+// the error.
+//
+// See the AWS API reference guide for AWS Telco Network Builder's
+// API operation ValidateSolNetworkPackageContent for usage and error information.
+//
+// Returned Error Types:
+//
+// - InternalServerException
+// Unexpected error occurred. Problem on the server.
+//
+// - ThrottlingException
+// Exception caused by throttling.
+//
+// - ValidationException
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+//
+// - ResourceNotFoundException
+// Request references a resource that doesn't exist.
+//
+// - AccessDeniedException
+// Insufficient permissions to make request.
+//
+// See also, https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21/ValidateSolNetworkPackageContent
+func (c *Tnb) ValidateSolNetworkPackageContent(input *ValidateSolNetworkPackageContentInput) (*ValidateSolNetworkPackageContentOutput, error) {
+ req, out := c.ValidateSolNetworkPackageContentRequest(input)
+ return out, req.Send()
+}
+
+// ValidateSolNetworkPackageContentWithContext is the same as ValidateSolNetworkPackageContent with the addition of
+// the ability to pass a context and additional request options.
+//
+// See ValidateSolNetworkPackageContent for details on how to use this API operation.
+//
+// The context must be non-nil and will be used for request cancellation. If
+// the context is nil a panic will occur. In the future the SDK may create
+// sub-contexts for http.Requests. See https://golang.org/pkg/context/
+// for more information on using Contexts.
+func (c *Tnb) ValidateSolNetworkPackageContentWithContext(ctx aws.Context, input *ValidateSolNetworkPackageContentInput, opts ...request.Option) (*ValidateSolNetworkPackageContentOutput, error) {
+ req, out := c.ValidateSolNetworkPackageContentRequest(input)
+ req.SetContext(ctx)
+ req.ApplyOptions(opts...)
+ return out, req.Send()
+}
+
+// Insufficient permissions to make request.
+type AccessDeniedException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s AccessDeniedException) GoString() string {
+ return s.String()
+}
+
+func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
+ return &AccessDeniedException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *AccessDeniedException) Code() string {
+ return "AccessDeniedException"
+}
+
+// Message returns the exception's message.
+func (s *AccessDeniedException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *AccessDeniedException) OrigErr() error {
+ return nil
+}
+
+func (s *AccessDeniedException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *AccessDeniedException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *AccessDeniedException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type CancelSolNetworkOperationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The ID of a network operation occurrence.
+ //
+ // NsLcmOpOccId is a required field
+ NsLcmOpOccId *string `location:"uri" locationName:"nsLcmOpOccId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelSolNetworkOperationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelSolNetworkOperationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CancelSolNetworkOperationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CancelSolNetworkOperationInput"}
+ if s.NsLcmOpOccId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsLcmOpOccId"))
+ }
+ if s.NsLcmOpOccId != nil && len(*s.NsLcmOpOccId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsLcmOpOccId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *CancelSolNetworkOperationInput) SetNsLcmOpOccId(v string) *CancelSolNetworkOperationInput {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+type CancelSolNetworkOperationOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelSolNetworkOperationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CancelSolNetworkOperationOutput) GoString() string {
+ return s.String()
+}
+
+type CreateSolFunctionPackageInput struct {
+ _ struct{} `type:"structure"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolFunctionPackageInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolFunctionPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolFunctionPackageInput) GoString() string {
+ return s.String()
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolFunctionPackageInput) SetTags(v map[string]*string) *CreateSolFunctionPackageInput {
+ s.Tags = v
+ return s
+}
+
+type CreateSolFunctionPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Function package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // ID of the function package.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Onboarding state of the function package.
+ //
+ // OnboardingState is a required field
+ OnboardingState *string `locationName:"onboardingState" type:"string" required:"true" enum:"OnboardingState"`
+
+ // Operational state of the function package.
+ //
+ // OperationalState is a required field
+ OperationalState *string `locationName:"operationalState" type:"string" required:"true" enum:"OperationalState"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolFunctionPackageOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+
+ // Usage state of the function package.
+ //
+ // UsageState is a required field
+ UsageState *string `locationName:"usageState" type:"string" required:"true" enum:"UsageState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolFunctionPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolFunctionPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CreateSolFunctionPackageOutput) SetArn(v string) *CreateSolFunctionPackageOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateSolFunctionPackageOutput) SetId(v string) *CreateSolFunctionPackageOutput {
+ s.Id = &v
+ return s
+}
+
+// SetOnboardingState sets the OnboardingState field's value.
+func (s *CreateSolFunctionPackageOutput) SetOnboardingState(v string) *CreateSolFunctionPackageOutput {
+ s.OnboardingState = &v
+ return s
+}
+
+// SetOperationalState sets the OperationalState field's value.
+func (s *CreateSolFunctionPackageOutput) SetOperationalState(v string) *CreateSolFunctionPackageOutput {
+ s.OperationalState = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolFunctionPackageOutput) SetTags(v map[string]*string) *CreateSolFunctionPackageOutput {
+ s.Tags = v
+ return s
+}
+
+// SetUsageState sets the UsageState field's value.
+func (s *CreateSolFunctionPackageOutput) SetUsageState(v string) *CreateSolFunctionPackageOutput {
+ s.UsageState = &v
+ return s
+}
+
+type CreateSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure"`
+
+ // Network instance description.
+ NsDescription *string `locationName:"nsDescription" min:"1" type:"string"`
+
+ // Network instance name.
+ //
+ // NsName is a required field
+ NsName *string `locationName:"nsName" min:"1" type:"string" required:"true"`
+
+ // ID for network service descriptor.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolNetworkInstanceInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *CreateSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "CreateSolNetworkInstanceInput"}
+ if s.NsDescription != nil && len(*s.NsDescription) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsDescription", 1))
+ }
+ if s.NsName == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsName"))
+ }
+ if s.NsName != nil && len(*s.NsName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsName", 1))
+ }
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsDescription sets the NsDescription field's value.
+func (s *CreateSolNetworkInstanceInput) SetNsDescription(v string) *CreateSolNetworkInstanceInput {
+ s.NsDescription = &v
+ return s
+}
+
+// SetNsName sets the NsName field's value.
+func (s *CreateSolNetworkInstanceInput) SetNsName(v string) *CreateSolNetworkInstanceInput {
+ s.NsName = &v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *CreateSolNetworkInstanceInput) SetNsdInfoId(v string) *CreateSolNetworkInstanceInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolNetworkInstanceInput) SetTags(v map[string]*string) *CreateSolNetworkInstanceInput {
+ s.Tags = v
+ return s
+}
+
+type CreateSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network instance ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network instance ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Network instance name.
+ //
+ // NsInstanceName is a required field
+ NsInstanceName *string `locationName:"nsInstanceName" type:"string" required:"true"`
+
+ // Network service descriptor ID.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolNetworkInstanceOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CreateSolNetworkInstanceOutput) SetArn(v string) *CreateSolNetworkInstanceOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateSolNetworkInstanceOutput) SetId(v string) *CreateSolNetworkInstanceOutput {
+ s.Id = &v
+ return s
+}
+
+// SetNsInstanceName sets the NsInstanceName field's value.
+func (s *CreateSolNetworkInstanceOutput) SetNsInstanceName(v string) *CreateSolNetworkInstanceOutput {
+ s.NsInstanceName = &v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *CreateSolNetworkInstanceOutput) SetNsdInfoId(v string) *CreateSolNetworkInstanceOutput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolNetworkInstanceOutput) SetTags(v map[string]*string) *CreateSolNetworkInstanceOutput {
+ s.Tags = v
+ return s
+}
+
+type CreateSolNetworkPackageInput struct {
+ _ struct{} `type:"structure"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolNetworkPackageInput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkPackageInput) GoString() string {
+ return s.String()
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolNetworkPackageInput) SetTags(v map[string]*string) *CreateSolNetworkPackageInput {
+ s.Tags = v
+ return s
+}
+
+type CreateSolNetworkPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // ID of the network package.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Onboarding state of the network service descriptor in the network package.
+ //
+ // NsdOnboardingState is a required field
+ NsdOnboardingState *string `locationName:"nsdOnboardingState" type:"string" required:"true" enum:"NsdOnboardingState"`
+
+ // Operational state of the network service descriptor in the network package.
+ //
+ // NsdOperationalState is a required field
+ NsdOperationalState *string `locationName:"nsdOperationalState" type:"string" required:"true" enum:"NsdOperationalState"`
+
+ // Usage state of the network service descriptor in the network package.
+ //
+ // NsdUsageState is a required field
+ NsdUsageState *string `locationName:"nsdUsageState" type:"string" required:"true" enum:"NsdUsageState"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by CreateSolNetworkPackageOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s CreateSolNetworkPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *CreateSolNetworkPackageOutput) SetArn(v string) *CreateSolNetworkPackageOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *CreateSolNetworkPackageOutput) SetId(v string) *CreateSolNetworkPackageOutput {
+ s.Id = &v
+ return s
+}
+
+// SetNsdOnboardingState sets the NsdOnboardingState field's value.
+func (s *CreateSolNetworkPackageOutput) SetNsdOnboardingState(v string) *CreateSolNetworkPackageOutput {
+ s.NsdOnboardingState = &v
+ return s
+}
+
+// SetNsdOperationalState sets the NsdOperationalState field's value.
+func (s *CreateSolNetworkPackageOutput) SetNsdOperationalState(v string) *CreateSolNetworkPackageOutput {
+ s.NsdOperationalState = &v
+ return s
+}
+
+// SetNsdUsageState sets the NsdUsageState field's value.
+func (s *CreateSolNetworkPackageOutput) SetNsdUsageState(v string) *CreateSolNetworkPackageOutput {
+ s.NsdUsageState = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *CreateSolNetworkPackageOutput) SetTags(v map[string]*string) *CreateSolNetworkPackageOutput {
+ s.Tags = v
+ return s
+}
+
+type DeleteSolFunctionPackageInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the function package.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolFunctionPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolFunctionPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteSolFunctionPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteSolFunctionPackageInput"}
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *DeleteSolFunctionPackageInput) SetVnfPkgId(v string) *DeleteSolFunctionPackageInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+type DeleteSolFunctionPackageOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolFunctionPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolFunctionPackageOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Network instance ID.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `location:"uri" locationName:"nsInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteSolNetworkInstanceInput"}
+ if s.NsInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsInstanceId"))
+ }
+ if s.NsInstanceId != nil && len(*s.NsInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *DeleteSolNetworkInstanceInput) SetNsInstanceId(v string) *DeleteSolNetworkInstanceInput {
+ s.NsInstanceId = &v
+ return s
+}
+
+type DeleteSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+type DeleteSolNetworkPackageInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *DeleteSolNetworkPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "DeleteSolNetworkPackageInput"}
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *DeleteSolNetworkPackageInput) SetNsdInfoId(v string) *DeleteSolNetworkPackageInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+type DeleteSolNetworkPackageOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s DeleteSolNetworkPackageOutput) GoString() string {
+ return s.String()
+}
+
+// Provides error information.
+type ErrorInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Error cause.
+ Cause *string `locationName:"cause" min:"1" type:"string"`
+
+ // Error details.
+ Details *string `locationName:"details" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ErrorInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ErrorInfo) GoString() string {
+ return s.String()
+}
+
+// SetCause sets the Cause field's value.
+func (s *ErrorInfo) SetCause(v string) *ErrorInfo {
+ s.Cause = &v
+ return s
+}
+
+// SetDetails sets the Details field's value.
+func (s *ErrorInfo) SetDetails(v string) *ErrorInfo {
+ s.Details = &v
+ return s
+}
+
+// Metadata for function package artifacts.
+//
+// Artifacts are the contents of the package descriptor file and the state of
+// the package.
+type FunctionArtifactMeta struct {
+ _ struct{} `type:"structure"`
+
+ // Lists of function package overrides.
+ Overrides []*ToscaOverride `locationName:"overrides" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FunctionArtifactMeta) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s FunctionArtifactMeta) GoString() string {
+ return s.String()
+}
+
+// SetOverrides sets the Overrides field's value.
+func (s *FunctionArtifactMeta) SetOverrides(v []*ToscaOverride) *FunctionArtifactMeta {
+ s.Overrides = v
+ return s
+}
+
+type GetSolFunctionInstanceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network function.
+ //
+ // VnfInstanceId is a required field
+ VnfInstanceId *string `location:"uri" locationName:"vnfInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolFunctionInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolFunctionInstanceInput"}
+ if s.VnfInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfInstanceId"))
+ }
+ if s.VnfInstanceId != nil && len(*s.VnfInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetVnfInstanceId sets the VnfInstanceId field's value.
+func (s *GetSolFunctionInstanceInput) SetVnfInstanceId(v string) *GetSolFunctionInstanceInput {
+ s.VnfInstanceId = &v
+ return s
+}
+
+// The metadata of a network function instance.
+//
+// A network function instance is a function in a function package .
+type GetSolFunctionInstanceMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetSolFunctionInstanceMetadata) SetCreatedAt(v time.Time) *GetSolFunctionInstanceMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetSolFunctionInstanceMetadata) SetLastModified(v time.Time) *GetSolFunctionInstanceMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type GetSolFunctionInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network function instance ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network function instance ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Information about the network function.
+ //
+ // A network function instance is a function in a function package .
+ InstantiatedVnfInfo *GetSolVnfInfo `locationName:"instantiatedVnfInfo" type:"structure"`
+
+ // Network function instantiation state.
+ //
+ // InstantiationState is a required field
+ InstantiationState *string `locationName:"instantiationState" type:"string" required:"true" enum:"VnfInstantiationState"`
+
+ // The metadata of a network function instance.
+ //
+ // A network function instance is a function in a function package .
+ //
+ // Metadata is a required field
+ Metadata *GetSolFunctionInstanceMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network instance ID.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `locationName:"nsInstanceId" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetSolFunctionInstanceOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+
+ // Function package ID.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `locationName:"vnfPkgId" type:"string" required:"true"`
+
+ // Network function product name.
+ VnfProductName *string `locationName:"vnfProductName" type:"string"`
+
+ // Network function provider.
+ VnfProvider *string `locationName:"vnfProvider" type:"string"`
+
+ // Function package descriptor ID.
+ //
+ // VnfdId is a required field
+ VnfdId *string `locationName:"vnfdId" type:"string" required:"true"`
+
+ // Function package descriptor version.
+ VnfdVersion *string `locationName:"vnfdVersion" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetSolFunctionInstanceOutput) SetArn(v string) *GetSolFunctionInstanceOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetSolFunctionInstanceOutput) SetId(v string) *GetSolFunctionInstanceOutput {
+ s.Id = &v
+ return s
+}
+
+// SetInstantiatedVnfInfo sets the InstantiatedVnfInfo field's value.
+func (s *GetSolFunctionInstanceOutput) SetInstantiatedVnfInfo(v *GetSolVnfInfo) *GetSolFunctionInstanceOutput {
+ s.InstantiatedVnfInfo = v
+ return s
+}
+
+// SetInstantiationState sets the InstantiationState field's value.
+func (s *GetSolFunctionInstanceOutput) SetInstantiationState(v string) *GetSolFunctionInstanceOutput {
+ s.InstantiationState = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolFunctionInstanceOutput) SetMetadata(v *GetSolFunctionInstanceMetadata) *GetSolFunctionInstanceOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *GetSolFunctionInstanceOutput) SetNsInstanceId(v string) *GetSolFunctionInstanceOutput {
+ s.NsInstanceId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *GetSolFunctionInstanceOutput) SetTags(v map[string]*string) *GetSolFunctionInstanceOutput {
+ s.Tags = v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *GetSolFunctionInstanceOutput) SetVnfPkgId(v string) *GetSolFunctionInstanceOutput {
+ s.VnfPkgId = &v
+ return s
+}
+
+// SetVnfProductName sets the VnfProductName field's value.
+func (s *GetSolFunctionInstanceOutput) SetVnfProductName(v string) *GetSolFunctionInstanceOutput {
+ s.VnfProductName = &v
+ return s
+}
+
+// SetVnfProvider sets the VnfProvider field's value.
+func (s *GetSolFunctionInstanceOutput) SetVnfProvider(v string) *GetSolFunctionInstanceOutput {
+ s.VnfProvider = &v
+ return s
+}
+
+// SetVnfdId sets the VnfdId field's value.
+func (s *GetSolFunctionInstanceOutput) SetVnfdId(v string) *GetSolFunctionInstanceOutput {
+ s.VnfdId = &v
+ return s
+}
+
+// SetVnfdVersion sets the VnfdVersion field's value.
+func (s *GetSolFunctionInstanceOutput) SetVnfdVersion(v string) *GetSolFunctionInstanceOutput {
+ s.VnfdVersion = &v
+ return s
+}
+
+type GetSolFunctionPackageContentInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The format of the package that you want to download from the function packages.
+ //
+ // Accept is a required field
+ Accept *string `location:"header" locationName:"Accept" type:"string" required:"true" enum:"PackageContentType"`
+
+ // ID of the function package.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolFunctionPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolFunctionPackageContentInput"}
+ if s.Accept == nil {
+ invalidParams.Add(request.NewErrParamRequired("Accept"))
+ }
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccept sets the Accept field's value.
+func (s *GetSolFunctionPackageContentInput) SetAccept(v string) *GetSolFunctionPackageContentInput {
+ s.Accept = &v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *GetSolFunctionPackageContentInput) SetVnfPkgId(v string) *GetSolFunctionPackageContentInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+type GetSolFunctionPackageContentOutput struct {
+ _ struct{} `type:"structure" payload:"PackageContent"`
+
+ // Indicates the media type of the resource.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Contents of the function package.
+ PackageContent []byte `locationName:"packageContent" type:"blob"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetSolFunctionPackageContentOutput) SetContentType(v string) *GetSolFunctionPackageContentOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetPackageContent sets the PackageContent field's value.
+func (s *GetSolFunctionPackageContentOutput) SetPackageContent(v []byte) *GetSolFunctionPackageContentOutput {
+ s.PackageContent = v
+ return s
+}
+
+type GetSolFunctionPackageDescriptorInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Indicates which content types, expressed as MIME types, the client is able
+ // to understand.
+ //
+ // Accept is a required field
+ Accept *string `location:"header" locationName:"Accept" type:"string" required:"true" enum:"DescriptorContentType"`
+
+ // ID of the function package.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageDescriptorInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageDescriptorInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolFunctionPackageDescriptorInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolFunctionPackageDescriptorInput"}
+ if s.Accept == nil {
+ invalidParams.Add(request.NewErrParamRequired("Accept"))
+ }
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccept sets the Accept field's value.
+func (s *GetSolFunctionPackageDescriptorInput) SetAccept(v string) *GetSolFunctionPackageDescriptorInput {
+ s.Accept = &v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *GetSolFunctionPackageDescriptorInput) SetVnfPkgId(v string) *GetSolFunctionPackageDescriptorInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+type GetSolFunctionPackageDescriptorOutput struct {
+ _ struct{} `type:"structure" payload:"Vnfd"`
+
+ // Indicates the media type of the resource.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"DescriptorContentType"`
+
+ // Contents of the function package descriptor.
+ Vnfd []byte `locationName:"vnfd" type:"blob"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageDescriptorOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageDescriptorOutput) GoString() string {
+ return s.String()
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetSolFunctionPackageDescriptorOutput) SetContentType(v string) *GetSolFunctionPackageDescriptorOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetVnfd sets the Vnfd field's value.
+func (s *GetSolFunctionPackageDescriptorOutput) SetVnfd(v []byte) *GetSolFunctionPackageDescriptorOutput {
+ s.Vnfd = v
+ return s
+}
+
+type GetSolFunctionPackageInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the function package.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolFunctionPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolFunctionPackageInput"}
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *GetSolFunctionPackageInput) SetVnfPkgId(v string) *GetSolFunctionPackageInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+// Metadata related to the function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+type GetSolFunctionPackageMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // Metadata related to the function package descriptor of the function package.
+ Vnfd *FunctionArtifactMeta `locationName:"vnfd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetSolFunctionPackageMetadata) SetCreatedAt(v time.Time) *GetSolFunctionPackageMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetSolFunctionPackageMetadata) SetLastModified(v time.Time) *GetSolFunctionPackageMetadata {
+ s.LastModified = &v
+ return s
+}
+
+// SetVnfd sets the Vnfd field's value.
+func (s *GetSolFunctionPackageMetadata) SetVnfd(v *FunctionArtifactMeta) *GetSolFunctionPackageMetadata {
+ s.Vnfd = v
+ return s
+}
+
+type GetSolFunctionPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Function package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Function package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Metadata related to the function package.
+ //
+ // A function package is a .zip file in CSAR (Cloud Service Archive) format
+ // that contains a network function (an ETSI standard telecommunication application)
+ // and function package descriptor that uses the TOSCA standard to describe
+ // how the network functions should run on your network.
+ Metadata *GetSolFunctionPackageMetadata `locationName:"metadata" type:"structure"`
+
+ // Function package onboarding state.
+ //
+ // OnboardingState is a required field
+ OnboardingState *string `locationName:"onboardingState" type:"string" required:"true" enum:"OnboardingState"`
+
+ // Function package operational state.
+ //
+ // OperationalState is a required field
+ OperationalState *string `locationName:"operationalState" type:"string" required:"true" enum:"OperationalState"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetSolFunctionPackageOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+
+ // Function package usage state.
+ //
+ // UsageState is a required field
+ UsageState *string `locationName:"usageState" type:"string" required:"true" enum:"UsageState"`
+
+ // Network function product name.
+ VnfProductName *string `locationName:"vnfProductName" type:"string"`
+
+ // Network function provider.
+ VnfProvider *string `locationName:"vnfProvider" type:"string"`
+
+ // Function package descriptor ID.
+ VnfdId *string `locationName:"vnfdId" type:"string"`
+
+ // Function package descriptor version.
+ VnfdVersion *string `locationName:"vnfdVersion" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolFunctionPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetSolFunctionPackageOutput) SetArn(v string) *GetSolFunctionPackageOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetSolFunctionPackageOutput) SetId(v string) *GetSolFunctionPackageOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolFunctionPackageOutput) SetMetadata(v *GetSolFunctionPackageMetadata) *GetSolFunctionPackageOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetOnboardingState sets the OnboardingState field's value.
+func (s *GetSolFunctionPackageOutput) SetOnboardingState(v string) *GetSolFunctionPackageOutput {
+ s.OnboardingState = &v
+ return s
+}
+
+// SetOperationalState sets the OperationalState field's value.
+func (s *GetSolFunctionPackageOutput) SetOperationalState(v string) *GetSolFunctionPackageOutput {
+ s.OperationalState = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *GetSolFunctionPackageOutput) SetTags(v map[string]*string) *GetSolFunctionPackageOutput {
+ s.Tags = v
+ return s
+}
+
+// SetUsageState sets the UsageState field's value.
+func (s *GetSolFunctionPackageOutput) SetUsageState(v string) *GetSolFunctionPackageOutput {
+ s.UsageState = &v
+ return s
+}
+
+// SetVnfProductName sets the VnfProductName field's value.
+func (s *GetSolFunctionPackageOutput) SetVnfProductName(v string) *GetSolFunctionPackageOutput {
+ s.VnfProductName = &v
+ return s
+}
+
+// SetVnfProvider sets the VnfProvider field's value.
+func (s *GetSolFunctionPackageOutput) SetVnfProvider(v string) *GetSolFunctionPackageOutput {
+ s.VnfProvider = &v
+ return s
+}
+
+// SetVnfdId sets the VnfdId field's value.
+func (s *GetSolFunctionPackageOutput) SetVnfdId(v string) *GetSolFunctionPackageOutput {
+ s.VnfdId = &v
+ return s
+}
+
+// SetVnfdVersion sets the VnfdVersion field's value.
+func (s *GetSolFunctionPackageOutput) SetVnfdVersion(v string) *GetSolFunctionPackageOutput {
+ s.VnfdVersion = &v
+ return s
+}
+
+// Information about a network function.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type GetSolInstantiatedVnfInfo struct {
+ _ struct{} `type:"structure"`
+
+ // State of the network function.
+ VnfState *string `locationName:"vnfState" type:"string" enum:"VnfOperationalState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolInstantiatedVnfInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolInstantiatedVnfInfo) GoString() string {
+ return s.String()
+}
+
+// SetVnfState sets the VnfState field's value.
+func (s *GetSolInstantiatedVnfInfo) SetVnfState(v string) *GetSolInstantiatedVnfInfo {
+ s.VnfState = &v
+ return s
+}
+
+type GetSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network instance.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `location:"uri" locationName:"nsInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolNetworkInstanceInput"}
+ if s.NsInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsInstanceId"))
+ }
+ if s.NsInstanceId != nil && len(*s.NsInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *GetSolNetworkInstanceInput) SetNsInstanceId(v string) *GetSolNetworkInstanceInput {
+ s.NsInstanceId = &v
+ return s
+}
+
+// The metadata of a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type GetSolNetworkInstanceMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetSolNetworkInstanceMetadata) SetCreatedAt(v time.Time) *GetSolNetworkInstanceMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetSolNetworkInstanceMetadata) SetLastModified(v time.Time) *GetSolNetworkInstanceMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type GetSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network instance ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network instance ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Lifecycle management operation details on the network instance.
+ //
+ // Lifecycle management operations are deploy, update, or delete operations.
+ LcmOpInfo *LcmOperationInfo `locationName:"lcmOpInfo" type:"structure"`
+
+ // The metadata of a network instance.
+ //
+ // A network instance is a single network created in Amazon Web Services TNB
+ // that can be deployed and on which life-cycle operations (like terminate,
+ // update, and delete) can be performed.
+ //
+ // Metadata is a required field
+ Metadata *GetSolNetworkInstanceMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network instance description.
+ //
+ // NsInstanceDescription is a required field
+ NsInstanceDescription *string `locationName:"nsInstanceDescription" type:"string" required:"true"`
+
+ // Network instance name.
+ //
+ // NsInstanceName is a required field
+ NsInstanceName *string `locationName:"nsInstanceName" type:"string" required:"true"`
+
+ // Network instance state.
+ NsState *string `locationName:"nsState" type:"string" enum:"NsState"`
+
+ // Network service descriptor ID.
+ //
+ // NsdId is a required field
+ NsdId *string `locationName:"nsdId" type:"string" required:"true"`
+
+ // Network service descriptor info ID.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetSolNetworkInstanceOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetSolNetworkInstanceOutput) SetArn(v string) *GetSolNetworkInstanceOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetSolNetworkInstanceOutput) SetId(v string) *GetSolNetworkInstanceOutput {
+ s.Id = &v
+ return s
+}
+
+// SetLcmOpInfo sets the LcmOpInfo field's value.
+func (s *GetSolNetworkInstanceOutput) SetLcmOpInfo(v *LcmOperationInfo) *GetSolNetworkInstanceOutput {
+ s.LcmOpInfo = v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolNetworkInstanceOutput) SetMetadata(v *GetSolNetworkInstanceMetadata) *GetSolNetworkInstanceOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceDescription sets the NsInstanceDescription field's value.
+func (s *GetSolNetworkInstanceOutput) SetNsInstanceDescription(v string) *GetSolNetworkInstanceOutput {
+ s.NsInstanceDescription = &v
+ return s
+}
+
+// SetNsInstanceName sets the NsInstanceName field's value.
+func (s *GetSolNetworkInstanceOutput) SetNsInstanceName(v string) *GetSolNetworkInstanceOutput {
+ s.NsInstanceName = &v
+ return s
+}
+
+// SetNsState sets the NsState field's value.
+func (s *GetSolNetworkInstanceOutput) SetNsState(v string) *GetSolNetworkInstanceOutput {
+ s.NsState = &v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *GetSolNetworkInstanceOutput) SetNsdId(v string) *GetSolNetworkInstanceOutput {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *GetSolNetworkInstanceOutput) SetNsdInfoId(v string) *GetSolNetworkInstanceOutput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *GetSolNetworkInstanceOutput) SetTags(v map[string]*string) *GetSolNetworkInstanceOutput {
+ s.Tags = v
+ return s
+}
+
+type GetSolNetworkOperationInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The identifier of the operation occurrence.
+ //
+ // NsLcmOpOccId is a required field
+ NsLcmOpOccId *string `location:"uri" locationName:"nsLcmOpOccId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolNetworkOperationInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolNetworkOperationInput"}
+ if s.NsLcmOpOccId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsLcmOpOccId"))
+ }
+ if s.NsLcmOpOccId != nil && len(*s.NsLcmOpOccId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsLcmOpOccId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *GetSolNetworkOperationInput) SetNsLcmOpOccId(v string) *GetSolNetworkOperationInput {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+// Metadata related to a network operation occurence.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+type GetSolNetworkOperationMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetSolNetworkOperationMetadata) SetCreatedAt(v time.Time) *GetSolNetworkOperationMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetSolNetworkOperationMetadata) SetLastModified(v time.Time) *GetSolNetworkOperationMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type GetSolNetworkOperationOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network operation ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Error related to this specific network operation occurence.
+ Error *ProblemDetails `locationName:"error" type:"structure"`
+
+ // ID of this network operation occurrence.
+ Id *string `locationName:"id" type:"string"`
+
+ // Type of the operation represented by this occurrence.
+ LcmOperationType *string `locationName:"lcmOperationType" type:"string" enum:"LcmOperationType"`
+
+ // Metadata of this network operation occurrence.
+ Metadata *GetSolNetworkOperationMetadata `locationName:"metadata" type:"structure"`
+
+ // ID of the network operation instance.
+ NsInstanceId *string `locationName:"nsInstanceId" type:"string"`
+
+ // The state of the network operation.
+ OperationState *string `locationName:"operationState" type:"string" enum:"NsLcmOperationState"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetSolNetworkOperationOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+
+ // All tasks associated with this operation occurrence.
+ Tasks []*GetSolNetworkOperationTaskDetails `locationName:"tasks" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetSolNetworkOperationOutput) SetArn(v string) *GetSolNetworkOperationOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetError sets the Error field's value.
+func (s *GetSolNetworkOperationOutput) SetError(v *ProblemDetails) *GetSolNetworkOperationOutput {
+ s.Error = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetSolNetworkOperationOutput) SetId(v string) *GetSolNetworkOperationOutput {
+ s.Id = &v
+ return s
+}
+
+// SetLcmOperationType sets the LcmOperationType field's value.
+func (s *GetSolNetworkOperationOutput) SetLcmOperationType(v string) *GetSolNetworkOperationOutput {
+ s.LcmOperationType = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolNetworkOperationOutput) SetMetadata(v *GetSolNetworkOperationMetadata) *GetSolNetworkOperationOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *GetSolNetworkOperationOutput) SetNsInstanceId(v string) *GetSolNetworkOperationOutput {
+ s.NsInstanceId = &v
+ return s
+}
+
+// SetOperationState sets the OperationState field's value.
+func (s *GetSolNetworkOperationOutput) SetOperationState(v string) *GetSolNetworkOperationOutput {
+ s.OperationState = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *GetSolNetworkOperationOutput) SetTags(v map[string]*string) *GetSolNetworkOperationOutput {
+ s.Tags = v
+ return s
+}
+
+// SetTasks sets the Tasks field's value.
+func (s *GetSolNetworkOperationOutput) SetTasks(v []*GetSolNetworkOperationTaskDetails) *GetSolNetworkOperationOutput {
+ s.Tasks = v
+ return s
+}
+
+// Gets the details of a network operation.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+type GetSolNetworkOperationTaskDetails struct {
+ _ struct{} `type:"structure"`
+
+ // Context for the network operation task.
+ TaskContext map[string]*string `locationName:"taskContext" type:"map"`
+
+ // Task end time.
+ TaskEndTime *time.Time `locationName:"taskEndTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Task error details.
+ TaskErrorDetails *ErrorInfo `locationName:"taskErrorDetails" type:"structure"`
+
+ // Task name.
+ TaskName *string `locationName:"taskName" type:"string"`
+
+ // Task start time.
+ TaskStartTime *time.Time `locationName:"taskStartTime" type:"timestamp" timestampFormat:"iso8601"`
+
+ // Task status.
+ TaskStatus *string `locationName:"taskStatus" type:"string" enum:"TaskStatus"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationTaskDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkOperationTaskDetails) GoString() string {
+ return s.String()
+}
+
+// SetTaskContext sets the TaskContext field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskContext(v map[string]*string) *GetSolNetworkOperationTaskDetails {
+ s.TaskContext = v
+ return s
+}
+
+// SetTaskEndTime sets the TaskEndTime field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskEndTime(v time.Time) *GetSolNetworkOperationTaskDetails {
+ s.TaskEndTime = &v
+ return s
+}
+
+// SetTaskErrorDetails sets the TaskErrorDetails field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskErrorDetails(v *ErrorInfo) *GetSolNetworkOperationTaskDetails {
+ s.TaskErrorDetails = v
+ return s
+}
+
+// SetTaskName sets the TaskName field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskName(v string) *GetSolNetworkOperationTaskDetails {
+ s.TaskName = &v
+ return s
+}
+
+// SetTaskStartTime sets the TaskStartTime field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskStartTime(v time.Time) *GetSolNetworkOperationTaskDetails {
+ s.TaskStartTime = &v
+ return s
+}
+
+// SetTaskStatus sets the TaskStatus field's value.
+func (s *GetSolNetworkOperationTaskDetails) SetTaskStatus(v string) *GetSolNetworkOperationTaskDetails {
+ s.TaskStatus = &v
+ return s
+}
+
+type GetSolNetworkPackageContentInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The format of the package you want to download from the network package.
+ //
+ // Accept is a required field
+ Accept *string `location:"header" locationName:"Accept" type:"string" required:"true" enum:"PackageContentType"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolNetworkPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolNetworkPackageContentInput"}
+ if s.Accept == nil {
+ invalidParams.Add(request.NewErrParamRequired("Accept"))
+ }
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetAccept sets the Accept field's value.
+func (s *GetSolNetworkPackageContentInput) SetAccept(v string) *GetSolNetworkPackageContentInput {
+ s.Accept = &v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *GetSolNetworkPackageContentInput) SetNsdInfoId(v string) *GetSolNetworkPackageContentInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+type GetSolNetworkPackageContentOutput struct {
+ _ struct{} `type:"structure" payload:"NsdContent"`
+
+ // Indicates the media type of the resource.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Content of the network service descriptor in the network package.
+ NsdContent []byte `locationName:"nsdContent" type:"blob"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetSolNetworkPackageContentOutput) SetContentType(v string) *GetSolNetworkPackageContentOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetNsdContent sets the NsdContent field's value.
+func (s *GetSolNetworkPackageContentOutput) SetNsdContent(v []byte) *GetSolNetworkPackageContentOutput {
+ s.NsdContent = v
+ return s
+}
+
+type GetSolNetworkPackageDescriptorInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageDescriptorInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageDescriptorInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolNetworkPackageDescriptorInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolNetworkPackageDescriptorInput"}
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *GetSolNetworkPackageDescriptorInput) SetNsdInfoId(v string) *GetSolNetworkPackageDescriptorInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+type GetSolNetworkPackageDescriptorOutput struct {
+ _ struct{} `type:"structure" payload:"Nsd"`
+
+ // Indicates the media type of the resource.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"DescriptorContentType"`
+
+ // Contents of the network service descriptor in the network package.
+ Nsd []byte `locationName:"nsd" type:"blob"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageDescriptorOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageDescriptorOutput) GoString() string {
+ return s.String()
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *GetSolNetworkPackageDescriptorOutput) SetContentType(v string) *GetSolNetworkPackageDescriptorOutput {
+ s.ContentType = &v
+ return s
+}
+
+// SetNsd sets the Nsd field's value.
+func (s *GetSolNetworkPackageDescriptorOutput) SetNsd(v []byte) *GetSolNetworkPackageDescriptorOutput {
+ s.Nsd = v
+ return s
+}
+
+type GetSolNetworkPackageInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *GetSolNetworkPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "GetSolNetworkPackageInput"}
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *GetSolNetworkPackageInput) SetNsdInfoId(v string) *GetSolNetworkPackageInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// Metadata associated with a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+type GetSolNetworkPackageMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // Metadata related to the onboarded network service descriptor in the network
+ // package.
+ Nsd *NetworkArtifactMeta `locationName:"nsd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *GetSolNetworkPackageMetadata) SetCreatedAt(v time.Time) *GetSolNetworkPackageMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *GetSolNetworkPackageMetadata) SetLastModified(v time.Time) *GetSolNetworkPackageMetadata {
+ s.LastModified = &v
+ return s
+}
+
+// SetNsd sets the Nsd field's value.
+func (s *GetSolNetworkPackageMetadata) SetNsd(v *NetworkArtifactMeta) *GetSolNetworkPackageMetadata {
+ s.Nsd = v
+ return s
+}
+
+type GetSolNetworkPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Metadata associated with a network package.
+ //
+ // A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+ // the function packages you want to deploy and the Amazon Web Services infrastructure
+ // you want to deploy them on.
+ //
+ // Metadata is a required field
+ Metadata *GetSolNetworkPackageMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network service descriptor ID.
+ //
+ // NsdId is a required field
+ NsdId *string `locationName:"nsdId" type:"string" required:"true"`
+
+ // Network service descriptor name.
+ //
+ // NsdName is a required field
+ NsdName *string `locationName:"nsdName" type:"string" required:"true"`
+
+ // Network service descriptor onboarding state.
+ //
+ // NsdOnboardingState is a required field
+ NsdOnboardingState *string `locationName:"nsdOnboardingState" type:"string" required:"true" enum:"NsdOnboardingState"`
+
+ // Network service descriptor operational state.
+ //
+ // NsdOperationalState is a required field
+ NsdOperationalState *string `locationName:"nsdOperationalState" type:"string" required:"true" enum:"NsdOperationalState"`
+
+ // Network service descriptor usage state.
+ //
+ // NsdUsageState is a required field
+ NsdUsageState *string `locationName:"nsdUsageState" type:"string" required:"true" enum:"NsdUsageState"`
+
+ // Network service descriptor version.
+ //
+ // NsdVersion is a required field
+ NsdVersion *string `locationName:"nsdVersion" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by GetSolNetworkPackageOutput's
+ // String and GoString methods.
+ Tags map[string]*string `locationName:"tags" type:"map" sensitive:"true"`
+
+ // Identifies the function package for the function package descriptor referenced
+ // by the onboarded network package.
+ //
+ // VnfPkgIds is a required field
+ VnfPkgIds []*string `locationName:"vnfPkgIds" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolNetworkPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *GetSolNetworkPackageOutput) SetArn(v string) *GetSolNetworkPackageOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *GetSolNetworkPackageOutput) SetId(v string) *GetSolNetworkPackageOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolNetworkPackageOutput) SetMetadata(v *GetSolNetworkPackageMetadata) *GetSolNetworkPackageOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdId(v string) *GetSolNetworkPackageOutput {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdName sets the NsdName field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdName(v string) *GetSolNetworkPackageOutput {
+ s.NsdName = &v
+ return s
+}
+
+// SetNsdOnboardingState sets the NsdOnboardingState field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdOnboardingState(v string) *GetSolNetworkPackageOutput {
+ s.NsdOnboardingState = &v
+ return s
+}
+
+// SetNsdOperationalState sets the NsdOperationalState field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdOperationalState(v string) *GetSolNetworkPackageOutput {
+ s.NsdOperationalState = &v
+ return s
+}
+
+// SetNsdUsageState sets the NsdUsageState field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdUsageState(v string) *GetSolNetworkPackageOutput {
+ s.NsdUsageState = &v
+ return s
+}
+
+// SetNsdVersion sets the NsdVersion field's value.
+func (s *GetSolNetworkPackageOutput) SetNsdVersion(v string) *GetSolNetworkPackageOutput {
+ s.NsdVersion = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *GetSolNetworkPackageOutput) SetTags(v map[string]*string) *GetSolNetworkPackageOutput {
+ s.Tags = v
+ return s
+}
+
+// SetVnfPkgIds sets the VnfPkgIds field's value.
+func (s *GetSolNetworkPackageOutput) SetVnfPkgIds(v []*string) *GetSolNetworkPackageOutput {
+ s.VnfPkgIds = v
+ return s
+}
+
+// Information about the network function.
+//
+// A network function instance is a function in a function package .
+type GetSolVnfInfo struct {
+ _ struct{} `type:"structure"`
+
+ // State of the network function instance.
+ VnfState *string `locationName:"vnfState" type:"string" enum:"VnfOperationalState"`
+
+ // Compute info used by the network function instance.
+ VnfcResourceInfo []*GetSolVnfcResourceInfo `locationName:"vnfcResourceInfo" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfInfo) GoString() string {
+ return s.String()
+}
+
+// SetVnfState sets the VnfState field's value.
+func (s *GetSolVnfInfo) SetVnfState(v string) *GetSolVnfInfo {
+ s.VnfState = &v
+ return s
+}
+
+// SetVnfcResourceInfo sets the VnfcResourceInfo field's value.
+func (s *GetSolVnfInfo) SetVnfcResourceInfo(v []*GetSolVnfcResourceInfo) *GetSolVnfInfo {
+ s.VnfcResourceInfo = v
+ return s
+}
+
+// Details of resource associated with a network function.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type GetSolVnfcResourceInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The metadata of the network function compute.
+ Metadata *GetSolVnfcResourceInfoMetadata `locationName:"metadata" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfcResourceInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfcResourceInfo) GoString() string {
+ return s.String()
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *GetSolVnfcResourceInfo) SetMetadata(v *GetSolVnfcResourceInfoMetadata) *GetSolVnfcResourceInfo {
+ s.Metadata = v
+ return s
+}
+
+// The metadata of a network function.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type GetSolVnfcResourceInfoMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // Information about the cluster.
+ Cluster *string `locationName:"cluster" type:"string"`
+
+ // Information about the helm chart.
+ HelmChart *string `locationName:"helmChart" type:"string"`
+
+ // Information about the node group.
+ NodeGroup *string `locationName:"nodeGroup" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfcResourceInfoMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s GetSolVnfcResourceInfoMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCluster sets the Cluster field's value.
+func (s *GetSolVnfcResourceInfoMetadata) SetCluster(v string) *GetSolVnfcResourceInfoMetadata {
+ s.Cluster = &v
+ return s
+}
+
+// SetHelmChart sets the HelmChart field's value.
+func (s *GetSolVnfcResourceInfoMetadata) SetHelmChart(v string) *GetSolVnfcResourceInfoMetadata {
+ s.HelmChart = &v
+ return s
+}
+
+// SetNodeGroup sets the NodeGroup field's value.
+func (s *GetSolVnfcResourceInfoMetadata) SetNodeGroup(v string) *GetSolVnfcResourceInfoMetadata {
+ s.NodeGroup = &v
+ return s
+}
+
+type InstantiateSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // A check for whether you have the required permissions for the action without
+ // actually making the request and provides an error response. If you have the
+ // required permissions, the error response is DryRunOperation. Otherwise, it
+ // is UnauthorizedOperation.
+ DryRun *bool `location:"querystring" locationName:"dry_run" type:"boolean"`
+
+ // ID of the network instance.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `location:"uri" locationName:"nsInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstantiateSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstantiateSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *InstantiateSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "InstantiateSolNetworkInstanceInput"}
+ if s.NsInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsInstanceId"))
+ }
+ if s.NsInstanceId != nil && len(*s.NsInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetDryRun sets the DryRun field's value.
+func (s *InstantiateSolNetworkInstanceInput) SetDryRun(v bool) *InstantiateSolNetworkInstanceInput {
+ s.DryRun = &v
+ return s
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *InstantiateSolNetworkInstanceInput) SetNsInstanceId(v string) *InstantiateSolNetworkInstanceInput {
+ s.NsInstanceId = &v
+ return s
+}
+
+type InstantiateSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the network instance.
+ //
+ // NsLcmOpOccId is a required field
+ NsLcmOpOccId *string `locationName:"nsLcmOpOccId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstantiateSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InstantiateSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *InstantiateSolNetworkInstanceOutput) SetNsLcmOpOccId(v string) *InstantiateSolNetworkInstanceOutput {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+// Unexpected error occurred. Problem on the server.
+type InternalServerException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s InternalServerException) GoString() string {
+ return s.String()
+}
+
+func newErrorInternalServerException(v protocol.ResponseMetadata) error {
+ return &InternalServerException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *InternalServerException) Code() string {
+ return "InternalServerException"
+}
+
+// Message returns the exception's message.
+func (s *InternalServerException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *InternalServerException) OrigErr() error {
+ return nil
+}
+
+func (s *InternalServerException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *InternalServerException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *InternalServerException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Lifecycle management operation details on the network instance.
+//
+// Lifecycle management operations are deploy, update, or delete operations.
+type LcmOperationInfo struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the latest network lifecycle management operation occurrence.
+ //
+ // NsLcmOpOccId is a required field
+ NsLcmOpOccId *string `locationName:"nsLcmOpOccId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LcmOperationInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s LcmOperationInfo) GoString() string {
+ return s.String()
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *LcmOperationInfo) SetNsLcmOpOccId(v string) *LcmOperationInfo {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+// Lists information about a network function instance.
+//
+// A network function instance is a function in a function package .
+type ListSolFunctionInstanceInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Network function instance ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network function instance ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Information about a network function.
+ //
+ // A network instance is a single network created in Amazon Web Services TNB
+ // that can be deployed and on which life-cycle operations (like terminate,
+ // update, and delete) can be performed.
+ InstantiatedVnfInfo *GetSolInstantiatedVnfInfo `locationName:"instantiatedVnfInfo" type:"structure"`
+
+ // Network function instance instantiation state.
+ //
+ // InstantiationState is a required field
+ InstantiationState *string `locationName:"instantiationState" type:"string" required:"true" enum:"VnfInstantiationState"`
+
+ // Network function instance metadata.
+ //
+ // Metadata is a required field
+ Metadata *ListSolFunctionInstanceMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network instance ID.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `locationName:"nsInstanceId" type:"string" required:"true"`
+
+ // Function package ID.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `locationName:"vnfPkgId" type:"string" required:"true"`
+
+ // Function package name.
+ VnfPkgName *string `locationName:"vnfPkgName" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstanceInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstanceInfo) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListSolFunctionInstanceInfo) SetArn(v string) *ListSolFunctionInstanceInfo {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ListSolFunctionInstanceInfo) SetId(v string) *ListSolFunctionInstanceInfo {
+ s.Id = &v
+ return s
+}
+
+// SetInstantiatedVnfInfo sets the InstantiatedVnfInfo field's value.
+func (s *ListSolFunctionInstanceInfo) SetInstantiatedVnfInfo(v *GetSolInstantiatedVnfInfo) *ListSolFunctionInstanceInfo {
+ s.InstantiatedVnfInfo = v
+ return s
+}
+
+// SetInstantiationState sets the InstantiationState field's value.
+func (s *ListSolFunctionInstanceInfo) SetInstantiationState(v string) *ListSolFunctionInstanceInfo {
+ s.InstantiationState = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ListSolFunctionInstanceInfo) SetMetadata(v *ListSolFunctionInstanceMetadata) *ListSolFunctionInstanceInfo {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *ListSolFunctionInstanceInfo) SetNsInstanceId(v string) *ListSolFunctionInstanceInfo {
+ s.NsInstanceId = &v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *ListSolFunctionInstanceInfo) SetVnfPkgId(v string) *ListSolFunctionInstanceInfo {
+ s.VnfPkgId = &v
+ return s
+}
+
+// SetVnfPkgName sets the VnfPkgName field's value.
+func (s *ListSolFunctionInstanceInfo) SetVnfPkgName(v string) *ListSolFunctionInstanceInfo {
+ s.VnfPkgName = &v
+ return s
+}
+
+// Lists network function instance metadata.
+//
+// A network function instance is a function in a function package .
+type ListSolFunctionInstanceMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // When the network function instance was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // When the network function instance was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstanceMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstanceMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ListSolFunctionInstanceMetadata) SetCreatedAt(v time.Time) *ListSolFunctionInstanceMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ListSolFunctionInstanceMetadata) SetLastModified(v time.Time) *ListSolFunctionInstanceMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type ListSolFunctionInstancesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The maximum number of results to include in the response.
+ MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstancesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstancesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSolFunctionInstancesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSolFunctionInstancesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSolFunctionInstancesInput) SetMaxResults(v int64) *ListSolFunctionInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolFunctionInstancesInput) SetNextToken(v string) *ListSolFunctionInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSolFunctionInstancesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network function instances.
+ FunctionInstances []*ListSolFunctionInstanceInfo `locationName:"functionInstances" type:"list"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstancesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionInstancesOutput) GoString() string {
+ return s.String()
+}
+
+// SetFunctionInstances sets the FunctionInstances field's value.
+func (s *ListSolFunctionInstancesOutput) SetFunctionInstances(v []*ListSolFunctionInstanceInfo) *ListSolFunctionInstancesOutput {
+ s.FunctionInstances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolFunctionInstancesOutput) SetNextToken(v string) *ListSolFunctionInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Information about a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+type ListSolFunctionPackageInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Function package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // ID of the function package.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The metadata of the function package.
+ Metadata *ListSolFunctionPackageMetadata `locationName:"metadata" type:"structure"`
+
+ // Onboarding state of the function package.
+ //
+ // OnboardingState is a required field
+ OnboardingState *string `locationName:"onboardingState" type:"string" required:"true" enum:"OnboardingState"`
+
+ // Operational state of the function package.
+ //
+ // OperationalState is a required field
+ OperationalState *string `locationName:"operationalState" type:"string" required:"true" enum:"OperationalState"`
+
+ // Usage state of the function package.
+ //
+ // UsageState is a required field
+ UsageState *string `locationName:"usageState" type:"string" required:"true" enum:"UsageState"`
+
+ // The product name for the network function.
+ VnfProductName *string `locationName:"vnfProductName" type:"string"`
+
+ // Provider of the function package and the function package descriptor.
+ VnfProvider *string `locationName:"vnfProvider" type:"string"`
+
+ // Identifies the function package and the function package descriptor.
+ VnfdId *string `locationName:"vnfdId" type:"string"`
+
+ // Identifies the version of the function package descriptor.
+ VnfdVersion *string `locationName:"vnfdVersion" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackageInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackageInfo) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListSolFunctionPackageInfo) SetArn(v string) *ListSolFunctionPackageInfo {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ListSolFunctionPackageInfo) SetId(v string) *ListSolFunctionPackageInfo {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ListSolFunctionPackageInfo) SetMetadata(v *ListSolFunctionPackageMetadata) *ListSolFunctionPackageInfo {
+ s.Metadata = v
+ return s
+}
+
+// SetOnboardingState sets the OnboardingState field's value.
+func (s *ListSolFunctionPackageInfo) SetOnboardingState(v string) *ListSolFunctionPackageInfo {
+ s.OnboardingState = &v
+ return s
+}
+
+// SetOperationalState sets the OperationalState field's value.
+func (s *ListSolFunctionPackageInfo) SetOperationalState(v string) *ListSolFunctionPackageInfo {
+ s.OperationalState = &v
+ return s
+}
+
+// SetUsageState sets the UsageState field's value.
+func (s *ListSolFunctionPackageInfo) SetUsageState(v string) *ListSolFunctionPackageInfo {
+ s.UsageState = &v
+ return s
+}
+
+// SetVnfProductName sets the VnfProductName field's value.
+func (s *ListSolFunctionPackageInfo) SetVnfProductName(v string) *ListSolFunctionPackageInfo {
+ s.VnfProductName = &v
+ return s
+}
+
+// SetVnfProvider sets the VnfProvider field's value.
+func (s *ListSolFunctionPackageInfo) SetVnfProvider(v string) *ListSolFunctionPackageInfo {
+ s.VnfProvider = &v
+ return s
+}
+
+// SetVnfdId sets the VnfdId field's value.
+func (s *ListSolFunctionPackageInfo) SetVnfdId(v string) *ListSolFunctionPackageInfo {
+ s.VnfdId = &v
+ return s
+}
+
+// SetVnfdVersion sets the VnfdVersion field's value.
+func (s *ListSolFunctionPackageInfo) SetVnfdVersion(v string) *ListSolFunctionPackageInfo {
+ s.VnfdVersion = &v
+ return s
+}
+
+// Details for the function package metadata.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+type ListSolFunctionPackageMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackageMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackageMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ListSolFunctionPackageMetadata) SetCreatedAt(v time.Time) *ListSolFunctionPackageMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ListSolFunctionPackageMetadata) SetLastModified(v time.Time) *ListSolFunctionPackageMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type ListSolFunctionPackagesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The maximum number of results to include in the response.
+ MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackagesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackagesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSolFunctionPackagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSolFunctionPackagesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSolFunctionPackagesInput) SetMaxResults(v int64) *ListSolFunctionPackagesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolFunctionPackagesInput) SetNextToken(v string) *ListSolFunctionPackagesInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSolFunctionPackagesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Function packages. A function package is a .zip file in CSAR (Cloud Service
+ // Archive) format that contains a network function (an ETSI standard telecommunication
+ // application) and function package descriptor that uses the TOSCA standard
+ // to describe how the network functions should run on your network.
+ //
+ // FunctionPackages is a required field
+ FunctionPackages []*ListSolFunctionPackageInfo `locationName:"functionPackages" type:"list" required:"true"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackagesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolFunctionPackagesOutput) GoString() string {
+ return s.String()
+}
+
+// SetFunctionPackages sets the FunctionPackages field's value.
+func (s *ListSolFunctionPackagesOutput) SetFunctionPackages(v []*ListSolFunctionPackageInfo) *ListSolFunctionPackagesOutput {
+ s.FunctionPackages = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolFunctionPackagesOutput) SetNextToken(v string) *ListSolFunctionPackagesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Info about the specific network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type ListSolNetworkInstanceInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Network instance ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // ID of the network instance.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The metadata of the network instance.
+ //
+ // Metadata is a required field
+ Metadata *ListSolNetworkInstanceMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Human-readable description of the network instance.
+ //
+ // NsInstanceDescription is a required field
+ NsInstanceDescription *string `locationName:"nsInstanceDescription" type:"string" required:"true"`
+
+ // Human-readable name of the network instance.
+ //
+ // NsInstanceName is a required field
+ NsInstanceName *string `locationName:"nsInstanceName" type:"string" required:"true"`
+
+ // The state of the network instance.
+ //
+ // NsState is a required field
+ NsState *string `locationName:"nsState" type:"string" required:"true" enum:"NsState"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdId is a required field
+ NsdId *string `locationName:"nsdId" type:"string" required:"true"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstanceInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstanceInfo) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListSolNetworkInstanceInfo) SetArn(v string) *ListSolNetworkInstanceInfo {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ListSolNetworkInstanceInfo) SetId(v string) *ListSolNetworkInstanceInfo {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ListSolNetworkInstanceInfo) SetMetadata(v *ListSolNetworkInstanceMetadata) *ListSolNetworkInstanceInfo {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceDescription sets the NsInstanceDescription field's value.
+func (s *ListSolNetworkInstanceInfo) SetNsInstanceDescription(v string) *ListSolNetworkInstanceInfo {
+ s.NsInstanceDescription = &v
+ return s
+}
+
+// SetNsInstanceName sets the NsInstanceName field's value.
+func (s *ListSolNetworkInstanceInfo) SetNsInstanceName(v string) *ListSolNetworkInstanceInfo {
+ s.NsInstanceName = &v
+ return s
+}
+
+// SetNsState sets the NsState field's value.
+func (s *ListSolNetworkInstanceInfo) SetNsState(v string) *ListSolNetworkInstanceInfo {
+ s.NsState = &v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *ListSolNetworkInstanceInfo) SetNsdId(v string) *ListSolNetworkInstanceInfo {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *ListSolNetworkInstanceInfo) SetNsdInfoId(v string) *ListSolNetworkInstanceInfo {
+ s.NsdInfoId = &v
+ return s
+}
+
+// Metadata details for a network instance.
+//
+// A network instance is a single network created in Amazon Web Services TNB
+// that can be deployed and on which life-cycle operations (like terminate,
+// update, and delete) can be performed.
+type ListSolNetworkInstanceMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstanceMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstanceMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ListSolNetworkInstanceMetadata) SetCreatedAt(v time.Time) *ListSolNetworkInstanceMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ListSolNetworkInstanceMetadata) SetLastModified(v time.Time) *ListSolNetworkInstanceMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type ListSolNetworkInstancesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The maximum number of results to include in the response.
+ MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstancesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstancesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSolNetworkInstancesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSolNetworkInstancesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSolNetworkInstancesInput) SetMaxResults(v int64) *ListSolNetworkInstancesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkInstancesInput) SetNextToken(v string) *ListSolNetworkInstancesInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSolNetworkInstancesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Lists network instances.
+ NetworkInstances []*ListSolNetworkInstanceInfo `locationName:"networkInstances" type:"list"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstancesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkInstancesOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkInstances sets the NetworkInstances field's value.
+func (s *ListSolNetworkInstancesOutput) SetNetworkInstances(v []*ListSolNetworkInstanceInfo) *ListSolNetworkInstancesOutput {
+ s.NetworkInstances = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkInstancesOutput) SetNextToken(v string) *ListSolNetworkInstancesOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Information parameters for a network operation.
+type ListSolNetworkOperationsInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Network operation ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Error related to this specific network operation.
+ Error *ProblemDetails `locationName:"error" type:"structure"`
+
+ // ID of this network operation.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Type of lifecycle management network operation.
+ //
+ // LcmOperationType is a required field
+ LcmOperationType *string `locationName:"lcmOperationType" type:"string" required:"true" enum:"LcmOperationType"`
+
+ // Metadata related to this network operation.
+ Metadata *ListSolNetworkOperationsMetadata `locationName:"metadata" type:"structure"`
+
+ // ID of the network instance related to this operation.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `locationName:"nsInstanceId" type:"string" required:"true"`
+
+ // The state of the network operation.
+ //
+ // OperationState is a required field
+ OperationState *string `locationName:"operationState" type:"string" required:"true" enum:"NsLcmOperationState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsInfo) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListSolNetworkOperationsInfo) SetArn(v string) *ListSolNetworkOperationsInfo {
+ s.Arn = &v
+ return s
+}
+
+// SetError sets the Error field's value.
+func (s *ListSolNetworkOperationsInfo) SetError(v *ProblemDetails) *ListSolNetworkOperationsInfo {
+ s.Error = v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ListSolNetworkOperationsInfo) SetId(v string) *ListSolNetworkOperationsInfo {
+ s.Id = &v
+ return s
+}
+
+// SetLcmOperationType sets the LcmOperationType field's value.
+func (s *ListSolNetworkOperationsInfo) SetLcmOperationType(v string) *ListSolNetworkOperationsInfo {
+ s.LcmOperationType = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ListSolNetworkOperationsInfo) SetMetadata(v *ListSolNetworkOperationsMetadata) *ListSolNetworkOperationsInfo {
+ s.Metadata = v
+ return s
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *ListSolNetworkOperationsInfo) SetNsInstanceId(v string) *ListSolNetworkOperationsInfo {
+ s.NsInstanceId = &v
+ return s
+}
+
+// SetOperationState sets the OperationState field's value.
+func (s *ListSolNetworkOperationsInfo) SetOperationState(v string) *ListSolNetworkOperationsInfo {
+ s.OperationState = &v
+ return s
+}
+
+type ListSolNetworkOperationsInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The maximum number of results to include in the response.
+ MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSolNetworkOperationsInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSolNetworkOperationsInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSolNetworkOperationsInput) SetMaxResults(v int64) *ListSolNetworkOperationsInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkOperationsInput) SetNextToken(v string) *ListSolNetworkOperationsInput {
+ s.NextToken = &v
+ return s
+}
+
+// Metadata related to a network operation.
+//
+// A network operation is any operation that is done to your network, such as
+// network instance instantiation or termination.
+type ListSolNetworkOperationsMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ListSolNetworkOperationsMetadata) SetCreatedAt(v time.Time) *ListSolNetworkOperationsMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ListSolNetworkOperationsMetadata) SetLastModified(v time.Time) *ListSolNetworkOperationsMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type ListSolNetworkOperationsOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Lists network operation occurrences. Lifecycle management operations are
+ // deploy, update, or delete operations.
+ NetworkOperations []*ListSolNetworkOperationsInfo `locationName:"networkOperations" type:"list"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkOperationsOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkOperations sets the NetworkOperations field's value.
+func (s *ListSolNetworkOperationsOutput) SetNetworkOperations(v []*ListSolNetworkOperationsInfo) *ListSolNetworkOperationsOutput {
+ s.NetworkOperations = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkOperationsOutput) SetNextToken(v string) *ListSolNetworkOperationsOutput {
+ s.NextToken = &v
+ return s
+}
+
+// Details of a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+type ListSolNetworkPackageInfo struct {
+ _ struct{} `type:"structure"`
+
+ // Network package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // ID of the individual network package.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // The metadata of the network package.
+ //
+ // Metadata is a required field
+ Metadata *ListSolNetworkPackageMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Designer of the onboarded network service descriptor in the network package.
+ NsdDesigner *string `locationName:"nsdDesigner" type:"string"`
+
+ // ID of the network service descriptor on which the network package is based.
+ NsdId *string `locationName:"nsdId" type:"string"`
+
+ // Identifies a network service descriptor in a version independent manner.
+ NsdInvariantId *string `locationName:"nsdInvariantId" type:"string"`
+
+ // Name of the onboarded network service descriptor in the network package.
+ NsdName *string `locationName:"nsdName" type:"string"`
+
+ // Onboarding state of the network service descriptor in the network package.
+ //
+ // NsdOnboardingState is a required field
+ NsdOnboardingState *string `locationName:"nsdOnboardingState" type:"string" required:"true" enum:"NsdOnboardingState"`
+
+ // Operational state of the network service descriptor in the network package.
+ //
+ // NsdOperationalState is a required field
+ NsdOperationalState *string `locationName:"nsdOperationalState" type:"string" required:"true" enum:"NsdOperationalState"`
+
+ // Usage state of the network service descriptor in the network package.
+ //
+ // NsdUsageState is a required field
+ NsdUsageState *string `locationName:"nsdUsageState" type:"string" required:"true" enum:"NsdUsageState"`
+
+ // Version of the onboarded network service descriptor in the network package.
+ NsdVersion *string `locationName:"nsdVersion" type:"string"`
+
+ // Identifies the function package for the function package descriptor referenced
+ // by the onboarded network package.
+ VnfPkgIds []*string `locationName:"vnfPkgIds" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackageInfo) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackageInfo) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ListSolNetworkPackageInfo) SetArn(v string) *ListSolNetworkPackageInfo {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ListSolNetworkPackageInfo) SetId(v string) *ListSolNetworkPackageInfo {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ListSolNetworkPackageInfo) SetMetadata(v *ListSolNetworkPackageMetadata) *ListSolNetworkPackageInfo {
+ s.Metadata = v
+ return s
+}
+
+// SetNsdDesigner sets the NsdDesigner field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdDesigner(v string) *ListSolNetworkPackageInfo {
+ s.NsdDesigner = &v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdId(v string) *ListSolNetworkPackageInfo {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdInvariantId sets the NsdInvariantId field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdInvariantId(v string) *ListSolNetworkPackageInfo {
+ s.NsdInvariantId = &v
+ return s
+}
+
+// SetNsdName sets the NsdName field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdName(v string) *ListSolNetworkPackageInfo {
+ s.NsdName = &v
+ return s
+}
+
+// SetNsdOnboardingState sets the NsdOnboardingState field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdOnboardingState(v string) *ListSolNetworkPackageInfo {
+ s.NsdOnboardingState = &v
+ return s
+}
+
+// SetNsdOperationalState sets the NsdOperationalState field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdOperationalState(v string) *ListSolNetworkPackageInfo {
+ s.NsdOperationalState = &v
+ return s
+}
+
+// SetNsdUsageState sets the NsdUsageState field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdUsageState(v string) *ListSolNetworkPackageInfo {
+ s.NsdUsageState = &v
+ return s
+}
+
+// SetNsdVersion sets the NsdVersion field's value.
+func (s *ListSolNetworkPackageInfo) SetNsdVersion(v string) *ListSolNetworkPackageInfo {
+ s.NsdVersion = &v
+ return s
+}
+
+// SetVnfPkgIds sets the VnfPkgIds field's value.
+func (s *ListSolNetworkPackageInfo) SetVnfPkgIds(v []*string) *ListSolNetworkPackageInfo {
+ s.VnfPkgIds = v
+ return s
+}
+
+// Metadata related to a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+type ListSolNetworkPackageMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // The date that the resource was created.
+ //
+ // CreatedAt is a required field
+ CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+
+ // The date that the resource was last modified.
+ //
+ // LastModified is a required field
+ LastModified *time.Time `locationName:"lastModified" type:"timestamp" timestampFormat:"iso8601" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackageMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackageMetadata) GoString() string {
+ return s.String()
+}
+
+// SetCreatedAt sets the CreatedAt field's value.
+func (s *ListSolNetworkPackageMetadata) SetCreatedAt(v time.Time) *ListSolNetworkPackageMetadata {
+ s.CreatedAt = &v
+ return s
+}
+
+// SetLastModified sets the LastModified field's value.
+func (s *ListSolNetworkPackageMetadata) SetLastModified(v time.Time) *ListSolNetworkPackageMetadata {
+ s.LastModified = &v
+ return s
+}
+
+type ListSolNetworkPackagesInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // The maximum number of results to include in the response.
+ MaxResults *int64 `location:"querystring" locationName:"max_results" min:"1" type:"integer"`
+
+ // The token for the next page of results.
+ NextToken *string `location:"querystring" locationName:"nextpage_opaque_marker" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackagesInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackagesInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListSolNetworkPackagesInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListSolNetworkPackagesInput"}
+ if s.MaxResults != nil && *s.MaxResults < 1 {
+ invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetMaxResults sets the MaxResults field's value.
+func (s *ListSolNetworkPackagesInput) SetMaxResults(v int64) *ListSolNetworkPackagesInput {
+ s.MaxResults = &v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkPackagesInput) SetNextToken(v string) *ListSolNetworkPackagesInput {
+ s.NextToken = &v
+ return s
+}
+
+type ListSolNetworkPackagesOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network packages. A network package is a .zip file in CSAR (Cloud Service
+ // Archive) format defines the function packages you want to deploy and the
+ // Amazon Web Services infrastructure you want to deploy them on.
+ //
+ // NetworkPackages is a required field
+ NetworkPackages []*ListSolNetworkPackageInfo `locationName:"networkPackages" type:"list" required:"true"`
+
+ // The token to use to retrieve the next page of results. This value is null
+ // when there are no more results to return.
+ NextToken *string `locationName:"nextToken" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackagesOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListSolNetworkPackagesOutput) GoString() string {
+ return s.String()
+}
+
+// SetNetworkPackages sets the NetworkPackages field's value.
+func (s *ListSolNetworkPackagesOutput) SetNetworkPackages(v []*ListSolNetworkPackageInfo) *ListSolNetworkPackagesOutput {
+ s.NetworkPackages = v
+ return s
+}
+
+// SetNextToken sets the NextToken field's value.
+func (s *ListSolNetworkPackagesOutput) SetNextToken(v string) *ListSolNetworkPackagesOutput {
+ s.NextToken = &v
+ return s
+}
+
+type ListTagsForResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Resource ARN.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ListTagsForResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+type ListTagsForResourceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by ListTagsForResourceOutput's
+ // String and GoString methods.
+ //
+ // Tags is a required field
+ Tags map[string]*string `locationName:"tags" type:"map" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ListTagsForResourceOutput) GoString() string {
+ return s.String()
+}
+
+// SetTags sets the Tags field's value.
+func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
+ s.Tags = v
+ return s
+}
+
+// Metadata for network package artifacts.
+//
+// Artifacts are the contents of the package descriptor file and the state of
+// the package.
+type NetworkArtifactMeta struct {
+ _ struct{} `type:"structure"`
+
+ // Lists network package overrides.
+ Overrides []*ToscaOverride `locationName:"overrides" type:"list"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s NetworkArtifactMeta) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s NetworkArtifactMeta) GoString() string {
+ return s.String()
+}
+
+// SetOverrides sets the Overrides field's value.
+func (s *NetworkArtifactMeta) SetOverrides(v []*ToscaOverride) *NetworkArtifactMeta {
+ s.Overrides = v
+ return s
+}
+
+// Details related to problems with AWS TNB resources.
+type ProblemDetails struct {
+ _ struct{} `type:"structure"`
+
+ // A human-readable explanation specific to this occurrence of the problem.
+ //
+ // Detail is a required field
+ Detail *string `locationName:"detail" type:"string" required:"true"`
+
+ // A human-readable title of the problem type.
+ Title *string `locationName:"title" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ProblemDetails) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ProblemDetails) GoString() string {
+ return s.String()
+}
+
+// SetDetail sets the Detail field's value.
+func (s *ProblemDetails) SetDetail(v string) *ProblemDetails {
+ s.Detail = &v
+ return s
+}
+
+// SetTitle sets the Title field's value.
+func (s *ProblemDetails) SetTitle(v string) *ProblemDetails {
+ s.Title = &v
+ return s
+}
+
+type PutSolFunctionPackageContentInput struct {
+ _ struct{} `type:"structure" payload:"File"`
+
+ // Function package content type.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Function package file.
+ //
+ // File is a required field
+ File []byte `locationName:"file" type:"blob" required:"true"`
+
+ // Function package ID.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutSolFunctionPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutSolFunctionPackageContentInput"}
+ if s.File == nil {
+ invalidParams.Add(request.NewErrParamRequired("File"))
+ }
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *PutSolFunctionPackageContentInput) SetContentType(v string) *PutSolFunctionPackageContentInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetFile sets the File field's value.
+func (s *PutSolFunctionPackageContentInput) SetFile(v []byte) *PutSolFunctionPackageContentInput {
+ s.File = v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *PutSolFunctionPackageContentInput) SetVnfPkgId(v string) *PutSolFunctionPackageContentInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+// Update metadata in a function package.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+type PutSolFunctionPackageContentMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata for function package artifacts.
+ //
+ // Artifacts are the contents of the package descriptor file and the state of
+ // the package.
+ Vnfd *FunctionArtifactMeta `locationName:"vnfd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentMetadata) GoString() string {
+ return s.String()
+}
+
+// SetVnfd sets the Vnfd field's value.
+func (s *PutSolFunctionPackageContentMetadata) SetVnfd(v *FunctionArtifactMeta) *PutSolFunctionPackageContentMetadata {
+ s.Vnfd = v
+ return s
+}
+
+type PutSolFunctionPackageContentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Function package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Function package metadata.
+ //
+ // Metadata is a required field
+ Metadata *PutSolFunctionPackageContentMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Function product name.
+ //
+ // VnfProductName is a required field
+ VnfProductName *string `locationName:"vnfProductName" type:"string" required:"true"`
+
+ // Function provider.
+ //
+ // VnfProvider is a required field
+ VnfProvider *string `locationName:"vnfProvider" type:"string" required:"true"`
+
+ // Function package descriptor ID.
+ //
+ // VnfdId is a required field
+ VnfdId *string `locationName:"vnfdId" type:"string" required:"true"`
+
+ // Function package descriptor version.
+ //
+ // VnfdVersion is a required field
+ VnfdVersion *string `locationName:"vnfdVersion" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolFunctionPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetId sets the Id field's value.
+func (s *PutSolFunctionPackageContentOutput) SetId(v string) *PutSolFunctionPackageContentOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *PutSolFunctionPackageContentOutput) SetMetadata(v *PutSolFunctionPackageContentMetadata) *PutSolFunctionPackageContentOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetVnfProductName sets the VnfProductName field's value.
+func (s *PutSolFunctionPackageContentOutput) SetVnfProductName(v string) *PutSolFunctionPackageContentOutput {
+ s.VnfProductName = &v
+ return s
+}
+
+// SetVnfProvider sets the VnfProvider field's value.
+func (s *PutSolFunctionPackageContentOutput) SetVnfProvider(v string) *PutSolFunctionPackageContentOutput {
+ s.VnfProvider = &v
+ return s
+}
+
+// SetVnfdId sets the VnfdId field's value.
+func (s *PutSolFunctionPackageContentOutput) SetVnfdId(v string) *PutSolFunctionPackageContentOutput {
+ s.VnfdId = &v
+ return s
+}
+
+// SetVnfdVersion sets the VnfdVersion field's value.
+func (s *PutSolFunctionPackageContentOutput) SetVnfdVersion(v string) *PutSolFunctionPackageContentOutput {
+ s.VnfdVersion = &v
+ return s
+}
+
+type PutSolNetworkPackageContentInput struct {
+ _ struct{} `type:"structure" payload:"File"`
+
+ // Network package content type.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Network package file.
+ //
+ // File is a required field
+ File []byte `locationName:"file" type:"blob" required:"true"`
+
+ // Network service descriptor info ID.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *PutSolNetworkPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "PutSolNetworkPackageContentInput"}
+ if s.File == nil {
+ invalidParams.Add(request.NewErrParamRequired("File"))
+ }
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *PutSolNetworkPackageContentInput) SetContentType(v string) *PutSolNetworkPackageContentInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetFile sets the File field's value.
+func (s *PutSolNetworkPackageContentInput) SetFile(v []byte) *PutSolNetworkPackageContentInput {
+ s.File = v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *PutSolNetworkPackageContentInput) SetNsdInfoId(v string) *PutSolNetworkPackageContentInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// Update metadata in a network package.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+type PutSolNetworkPackageContentMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata for network package artifacts.
+ //
+ // Artifacts are the contents of the package descriptor file and the state of
+ // the package.
+ Nsd *NetworkArtifactMeta `locationName:"nsd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentMetadata) GoString() string {
+ return s.String()
+}
+
+// SetNsd sets the Nsd field's value.
+func (s *PutSolNetworkPackageContentMetadata) SetNsd(v *NetworkArtifactMeta) *PutSolNetworkPackageContentMetadata {
+ s.Nsd = v
+ return s
+}
+
+type PutSolNetworkPackageContentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Network package metadata.
+ //
+ // Metadata is a required field
+ Metadata *PutSolNetworkPackageContentMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network service descriptor ID.
+ //
+ // NsdId is a required field
+ NsdId *string `locationName:"nsdId" type:"string" required:"true"`
+
+ // Network service descriptor name.
+ //
+ // NsdName is a required field
+ NsdName *string `locationName:"nsdName" type:"string" required:"true"`
+
+ // Network service descriptor version.
+ //
+ // NsdVersion is a required field
+ NsdVersion *string `locationName:"nsdVersion" type:"string" required:"true"`
+
+ // Function package IDs.
+ //
+ // VnfPkgIds is a required field
+ VnfPkgIds []*string `locationName:"vnfPkgIds" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s PutSolNetworkPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *PutSolNetworkPackageContentOutput) SetArn(v string) *PutSolNetworkPackageContentOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *PutSolNetworkPackageContentOutput) SetId(v string) *PutSolNetworkPackageContentOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *PutSolNetworkPackageContentOutput) SetMetadata(v *PutSolNetworkPackageContentMetadata) *PutSolNetworkPackageContentOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *PutSolNetworkPackageContentOutput) SetNsdId(v string) *PutSolNetworkPackageContentOutput {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdName sets the NsdName field's value.
+func (s *PutSolNetworkPackageContentOutput) SetNsdName(v string) *PutSolNetworkPackageContentOutput {
+ s.NsdName = &v
+ return s
+}
+
+// SetNsdVersion sets the NsdVersion field's value.
+func (s *PutSolNetworkPackageContentOutput) SetNsdVersion(v string) *PutSolNetworkPackageContentOutput {
+ s.NsdVersion = &v
+ return s
+}
+
+// SetVnfPkgIds sets the VnfPkgIds field's value.
+func (s *PutSolNetworkPackageContentOutput) SetVnfPkgIds(v []*string) *PutSolNetworkPackageContentOutput {
+ s.VnfPkgIds = v
+ return s
+}
+
+// Request references a resource that doesn't exist.
+type ResourceNotFoundException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ResourceNotFoundException) GoString() string {
+ return s.String()
+}
+
+func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
+ return &ResourceNotFoundException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ResourceNotFoundException) Code() string {
+ return "ResourceNotFoundException"
+}
+
+// Message returns the exception's message.
+func (s *ResourceNotFoundException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ResourceNotFoundException) OrigErr() error {
+ return nil
+}
+
+func (s *ResourceNotFoundException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ResourceNotFoundException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ResourceNotFoundException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Service quotas have been exceeded.
+type ServiceQuotaExceededException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ServiceQuotaExceededException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ServiceQuotaExceededException) GoString() string {
+ return s.String()
+}
+
+func newErrorServiceQuotaExceededException(v protocol.ResponseMetadata) error {
+ return &ServiceQuotaExceededException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ServiceQuotaExceededException) Code() string {
+ return "ServiceQuotaExceededException"
+}
+
+// Message returns the exception's message.
+func (s *ServiceQuotaExceededException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ServiceQuotaExceededException) OrigErr() error {
+ return nil
+}
+
+func (s *ServiceQuotaExceededException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ServiceQuotaExceededException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ServiceQuotaExceededException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+type TagResourceInput struct {
+ _ struct{} `type:"structure"`
+
+ // Resource ARN.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
+
+ // A tag is a label that you assign to an Amazon Web Services resource. Each
+ // tag consists of a key and an optional value. You can use tags to search and
+ // filter your resources or track your Amazon Web Services costs.
+ //
+ // Tags is a sensitive parameter and its value will be
+ // replaced with "sensitive" in string returned by TagResourceInput's
+ // String and GoString methods.
+ //
+ // Tags is a required field
+ Tags map[string]*string `locationName:"tags" type:"map" required:"true" sensitive:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ }
+ if s.Tags == nil {
+ invalidParams.Add(request.NewErrParamRequired("Tags"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTags sets the Tags field's value.
+func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
+ s.Tags = v
+ return s
+}
+
+type TagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TagResourceOutput) GoString() string {
+ return s.String()
+}
+
+type TerminateSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // ID of the network instance.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `location:"uri" locationName:"nsInstanceId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerminateSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerminateSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *TerminateSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "TerminateSolNetworkInstanceInput"}
+ if s.NsInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsInstanceId"))
+ }
+ if s.NsInstanceId != nil && len(*s.NsInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsInstanceId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *TerminateSolNetworkInstanceInput) SetNsInstanceId(v string) *TerminateSolNetworkInstanceInput {
+ s.NsInstanceId = &v
+ return s
+}
+
+type TerminateSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the operation occurrence.
+ NsLcmOpOccId *string `locationName:"nsLcmOpOccId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerminateSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s TerminateSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *TerminateSolNetworkInstanceOutput) SetNsLcmOpOccId(v string) *TerminateSolNetworkInstanceOutput {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+// Exception caused by throttling.
+type ThrottlingException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ThrottlingException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ThrottlingException) GoString() string {
+ return s.String()
+}
+
+func newErrorThrottlingException(v protocol.ResponseMetadata) error {
+ return &ThrottlingException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ThrottlingException) Code() string {
+ return "ThrottlingException"
+}
+
+// Message returns the exception's message.
+func (s *ThrottlingException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ThrottlingException) OrigErr() error {
+ return nil
+}
+
+func (s *ThrottlingException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ThrottlingException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ThrottlingException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+// Overrides of the TOSCA node.
+type ToscaOverride struct {
+ _ struct{} `type:"structure"`
+
+ // Default value for the override.
+ DefaultValue *string `locationName:"defaultValue" type:"string"`
+
+ // Name of the TOSCA override.
+ Name *string `locationName:"name" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ToscaOverride) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ToscaOverride) GoString() string {
+ return s.String()
+}
+
+// SetDefaultValue sets the DefaultValue field's value.
+func (s *ToscaOverride) SetDefaultValue(v string) *ToscaOverride {
+ s.DefaultValue = &v
+ return s
+}
+
+// SetName sets the Name field's value.
+func (s *ToscaOverride) SetName(v string) *ToscaOverride {
+ s.Name = &v
+ return s
+}
+
+type UntagResourceInput struct {
+ _ struct{} `type:"structure" nopayload:"true"`
+
+ // Resource ARN.
+ //
+ // ResourceArn is a required field
+ ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
+
+ // Tag keys.
+ //
+ // TagKeys is a required field
+ TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UntagResourceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
+ if s.ResourceArn == nil {
+ invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
+ }
+ if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
+ }
+ if s.TagKeys == nil {
+ invalidParams.Add(request.NewErrParamRequired("TagKeys"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetResourceArn sets the ResourceArn field's value.
+func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
+ s.ResourceArn = &v
+ return s
+}
+
+// SetTagKeys sets the TagKeys field's value.
+func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
+ s.TagKeys = v
+ return s
+}
+
+type UntagResourceOutput struct {
+ _ struct{} `type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UntagResourceOutput) GoString() string {
+ return s.String()
+}
+
+type UpdateSolFunctionPackageInput struct {
+ _ struct{} `type:"structure"`
+
+ // Operational state of the function package.
+ //
+ // OperationalState is a required field
+ OperationalState *string `locationName:"operationalState" type:"string" required:"true" enum:"OperationalState"`
+
+ // ID of the function package.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolFunctionPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolFunctionPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateSolFunctionPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateSolFunctionPackageInput"}
+ if s.OperationalState == nil {
+ invalidParams.Add(request.NewErrParamRequired("OperationalState"))
+ }
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetOperationalState sets the OperationalState field's value.
+func (s *UpdateSolFunctionPackageInput) SetOperationalState(v string) *UpdateSolFunctionPackageInput {
+ s.OperationalState = &v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *UpdateSolFunctionPackageInput) SetVnfPkgId(v string) *UpdateSolFunctionPackageInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+type UpdateSolFunctionPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Operational state of the function package.
+ //
+ // OperationalState is a required field
+ OperationalState *string `locationName:"operationalState" type:"string" required:"true" enum:"OperationalState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolFunctionPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolFunctionPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetOperationalState sets the OperationalState field's value.
+func (s *UpdateSolFunctionPackageOutput) SetOperationalState(v string) *UpdateSolFunctionPackageOutput {
+ s.OperationalState = &v
+ return s
+}
+
+type UpdateSolNetworkInstanceInput struct {
+ _ struct{} `type:"structure"`
+
+ // ID of the network instance.
+ //
+ // NsInstanceId is a required field
+ NsInstanceId *string `location:"uri" locationName:"nsInstanceId" type:"string" required:"true"`
+
+ // The type of update.
+ //
+ // UpdateType is a required field
+ UpdateType *string `locationName:"updateType" type:"string" required:"true" enum:"UpdateSolNetworkType"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkInstanceInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkInstanceInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateSolNetworkInstanceInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateSolNetworkInstanceInput"}
+ if s.NsInstanceId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsInstanceId"))
+ }
+ if s.NsInstanceId != nil && len(*s.NsInstanceId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsInstanceId", 1))
+ }
+ if s.UpdateType == nil {
+ invalidParams.Add(request.NewErrParamRequired("UpdateType"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsInstanceId sets the NsInstanceId field's value.
+func (s *UpdateSolNetworkInstanceInput) SetNsInstanceId(v string) *UpdateSolNetworkInstanceInput {
+ s.NsInstanceId = &v
+ return s
+}
+
+// SetUpdateType sets the UpdateType field's value.
+func (s *UpdateSolNetworkInstanceInput) SetUpdateType(v string) *UpdateSolNetworkInstanceInput {
+ s.UpdateType = &v
+ return s
+}
+
+type UpdateSolNetworkInstanceOutput struct {
+ _ struct{} `type:"structure"`
+
+ // The identifier of the network instance operation occurrence.
+ NsLcmOpOccId *string `locationName:"nsLcmOpOccId" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkInstanceOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkInstanceOutput) GoString() string {
+ return s.String()
+}
+
+// SetNsLcmOpOccId sets the NsLcmOpOccId field's value.
+func (s *UpdateSolNetworkInstanceOutput) SetNsLcmOpOccId(v string) *UpdateSolNetworkInstanceOutput {
+ s.NsLcmOpOccId = &v
+ return s
+}
+
+type UpdateSolNetworkPackageInput struct {
+ _ struct{} `type:"structure"`
+
+ // ID of the network service descriptor in the network package.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+
+ // Operational state of the network service descriptor in the network package.
+ //
+ // NsdOperationalState is a required field
+ NsdOperationalState *string `locationName:"nsdOperationalState" type:"string" required:"true" enum:"NsdOperationalState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkPackageInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkPackageInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *UpdateSolNetworkPackageInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "UpdateSolNetworkPackageInput"}
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+ if s.NsdOperationalState == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdOperationalState"))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *UpdateSolNetworkPackageInput) SetNsdInfoId(v string) *UpdateSolNetworkPackageInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// SetNsdOperationalState sets the NsdOperationalState field's value.
+func (s *UpdateSolNetworkPackageInput) SetNsdOperationalState(v string) *UpdateSolNetworkPackageInput {
+ s.NsdOperationalState = &v
+ return s
+}
+
+type UpdateSolNetworkPackageOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Operational state of the network service descriptor in the network package.
+ //
+ // NsdOperationalState is a required field
+ NsdOperationalState *string `locationName:"nsdOperationalState" type:"string" required:"true" enum:"NsdOperationalState"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkPackageOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s UpdateSolNetworkPackageOutput) GoString() string {
+ return s.String()
+}
+
+// SetNsdOperationalState sets the NsdOperationalState field's value.
+func (s *UpdateSolNetworkPackageOutput) SetNsdOperationalState(v string) *UpdateSolNetworkPackageOutput {
+ s.NsdOperationalState = &v
+ return s
+}
+
+type ValidateSolFunctionPackageContentInput struct {
+ _ struct{} `type:"structure" payload:"File"`
+
+ // Function package content type.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Function package file.
+ //
+ // File is a required field
+ File []byte `locationName:"file" type:"blob" required:"true"`
+
+ // Function package ID.
+ //
+ // VnfPkgId is a required field
+ VnfPkgId *string `location:"uri" locationName:"vnfPkgId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ValidateSolFunctionPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ValidateSolFunctionPackageContentInput"}
+ if s.File == nil {
+ invalidParams.Add(request.NewErrParamRequired("File"))
+ }
+ if s.VnfPkgId == nil {
+ invalidParams.Add(request.NewErrParamRequired("VnfPkgId"))
+ }
+ if s.VnfPkgId != nil && len(*s.VnfPkgId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("VnfPkgId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *ValidateSolFunctionPackageContentInput) SetContentType(v string) *ValidateSolFunctionPackageContentInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetFile sets the File field's value.
+func (s *ValidateSolFunctionPackageContentInput) SetFile(v []byte) *ValidateSolFunctionPackageContentInput {
+ s.File = v
+ return s
+}
+
+// SetVnfPkgId sets the VnfPkgId field's value.
+func (s *ValidateSolFunctionPackageContentInput) SetVnfPkgId(v string) *ValidateSolFunctionPackageContentInput {
+ s.VnfPkgId = &v
+ return s
+}
+
+// Validates function package content metadata.
+//
+// A function package is a .zip file in CSAR (Cloud Service Archive) format
+// that contains a network function (an ETSI standard telecommunication application)
+// and function package descriptor that uses the TOSCA standard to describe
+// how the network functions should run on your network.
+type ValidateSolFunctionPackageContentMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata for function package artifacts.
+ //
+ // Artifacts are the contents of the package descriptor file and the state of
+ // the package.
+ Vnfd *FunctionArtifactMeta `locationName:"vnfd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentMetadata) GoString() string {
+ return s.String()
+}
+
+// SetVnfd sets the Vnfd field's value.
+func (s *ValidateSolFunctionPackageContentMetadata) SetVnfd(v *FunctionArtifactMeta) *ValidateSolFunctionPackageContentMetadata {
+ s.Vnfd = v
+ return s
+}
+
+type ValidateSolFunctionPackageContentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Function package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Function package metadata.
+ //
+ // Metadata is a required field
+ Metadata *ValidateSolFunctionPackageContentMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network function product name.
+ //
+ // VnfProductName is a required field
+ VnfProductName *string `locationName:"vnfProductName" type:"string" required:"true"`
+
+ // Network function provider.
+ //
+ // VnfProvider is a required field
+ VnfProvider *string `locationName:"vnfProvider" type:"string" required:"true"`
+
+ // Function package descriptor ID.
+ //
+ // VnfdId is a required field
+ VnfdId *string `locationName:"vnfdId" type:"string" required:"true"`
+
+ // Function package descriptor version.
+ //
+ // VnfdVersion is a required field
+ VnfdVersion *string `locationName:"vnfdVersion" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolFunctionPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetId sets the Id field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetId(v string) *ValidateSolFunctionPackageContentOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetMetadata(v *ValidateSolFunctionPackageContentMetadata) *ValidateSolFunctionPackageContentOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetVnfProductName sets the VnfProductName field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetVnfProductName(v string) *ValidateSolFunctionPackageContentOutput {
+ s.VnfProductName = &v
+ return s
+}
+
+// SetVnfProvider sets the VnfProvider field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetVnfProvider(v string) *ValidateSolFunctionPackageContentOutput {
+ s.VnfProvider = &v
+ return s
+}
+
+// SetVnfdId sets the VnfdId field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetVnfdId(v string) *ValidateSolFunctionPackageContentOutput {
+ s.VnfdId = &v
+ return s
+}
+
+// SetVnfdVersion sets the VnfdVersion field's value.
+func (s *ValidateSolFunctionPackageContentOutput) SetVnfdVersion(v string) *ValidateSolFunctionPackageContentOutput {
+ s.VnfdVersion = &v
+ return s
+}
+
+type ValidateSolNetworkPackageContentInput struct {
+ _ struct{} `type:"structure" payload:"File"`
+
+ // Network package content type.
+ ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"PackageContentType"`
+
+ // Network package file.
+ //
+ // File is a required field
+ File []byte `locationName:"file" type:"blob" required:"true"`
+
+ // Network service descriptor file.
+ //
+ // NsdInfoId is a required field
+ NsdInfoId *string `location:"uri" locationName:"nsdInfoId" type:"string" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentInput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentInput) GoString() string {
+ return s.String()
+}
+
+// Validate inspects the fields of the type to determine if they are valid.
+func (s *ValidateSolNetworkPackageContentInput) Validate() error {
+ invalidParams := request.ErrInvalidParams{Context: "ValidateSolNetworkPackageContentInput"}
+ if s.File == nil {
+ invalidParams.Add(request.NewErrParamRequired("File"))
+ }
+ if s.NsdInfoId == nil {
+ invalidParams.Add(request.NewErrParamRequired("NsdInfoId"))
+ }
+ if s.NsdInfoId != nil && len(*s.NsdInfoId) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("NsdInfoId", 1))
+ }
+
+ if invalidParams.Len() > 0 {
+ return invalidParams
+ }
+ return nil
+}
+
+// SetContentType sets the ContentType field's value.
+func (s *ValidateSolNetworkPackageContentInput) SetContentType(v string) *ValidateSolNetworkPackageContentInput {
+ s.ContentType = &v
+ return s
+}
+
+// SetFile sets the File field's value.
+func (s *ValidateSolNetworkPackageContentInput) SetFile(v []byte) *ValidateSolNetworkPackageContentInput {
+ s.File = v
+ return s
+}
+
+// SetNsdInfoId sets the NsdInfoId field's value.
+func (s *ValidateSolNetworkPackageContentInput) SetNsdInfoId(v string) *ValidateSolNetworkPackageContentInput {
+ s.NsdInfoId = &v
+ return s
+}
+
+// Validates network package content metadata.
+//
+// A network package is a .zip file in CSAR (Cloud Service Archive) format defines
+// the function packages you want to deploy and the Amazon Web Services infrastructure
+// you want to deploy them on.
+type ValidateSolNetworkPackageContentMetadata struct {
+ _ struct{} `type:"structure"`
+
+ // Metadata for network package artifacts.
+ //
+ // Artifacts are the contents of the package descriptor file and the state of
+ // the package.
+ Nsd *NetworkArtifactMeta `locationName:"nsd" type:"structure"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentMetadata) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentMetadata) GoString() string {
+ return s.String()
+}
+
+// SetNsd sets the Nsd field's value.
+func (s *ValidateSolNetworkPackageContentMetadata) SetNsd(v *NetworkArtifactMeta) *ValidateSolNetworkPackageContentMetadata {
+ s.Nsd = v
+ return s
+}
+
+type ValidateSolNetworkPackageContentOutput struct {
+ _ struct{} `type:"structure"`
+
+ // Network package ARN.
+ //
+ // Arn is a required field
+ Arn *string `locationName:"arn" type:"string" required:"true"`
+
+ // Network package ID.
+ //
+ // Id is a required field
+ Id *string `locationName:"id" type:"string" required:"true"`
+
+ // Network package metadata.
+ //
+ // Metadata is a required field
+ Metadata *ValidateSolNetworkPackageContentMetadata `locationName:"metadata" type:"structure" required:"true"`
+
+ // Network service descriptor ID.
+ //
+ // NsdId is a required field
+ NsdId *string `locationName:"nsdId" type:"string" required:"true"`
+
+ // Network service descriptor name.
+ //
+ // NsdName is a required field
+ NsdName *string `locationName:"nsdName" type:"string" required:"true"`
+
+ // Network service descriptor version.
+ //
+ // NsdVersion is a required field
+ NsdVersion *string `locationName:"nsdVersion" type:"string" required:"true"`
+
+ // Function package IDs.
+ //
+ // VnfPkgIds is a required field
+ VnfPkgIds []*string `locationName:"vnfPkgIds" type:"list" required:"true"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentOutput) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidateSolNetworkPackageContentOutput) GoString() string {
+ return s.String()
+}
+
+// SetArn sets the Arn field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetArn(v string) *ValidateSolNetworkPackageContentOutput {
+ s.Arn = &v
+ return s
+}
+
+// SetId sets the Id field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetId(v string) *ValidateSolNetworkPackageContentOutput {
+ s.Id = &v
+ return s
+}
+
+// SetMetadata sets the Metadata field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetMetadata(v *ValidateSolNetworkPackageContentMetadata) *ValidateSolNetworkPackageContentOutput {
+ s.Metadata = v
+ return s
+}
+
+// SetNsdId sets the NsdId field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetNsdId(v string) *ValidateSolNetworkPackageContentOutput {
+ s.NsdId = &v
+ return s
+}
+
+// SetNsdName sets the NsdName field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetNsdName(v string) *ValidateSolNetworkPackageContentOutput {
+ s.NsdName = &v
+ return s
+}
+
+// SetNsdVersion sets the NsdVersion field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetNsdVersion(v string) *ValidateSolNetworkPackageContentOutput {
+ s.NsdVersion = &v
+ return s
+}
+
+// SetVnfPkgIds sets the VnfPkgIds field's value.
+func (s *ValidateSolNetworkPackageContentOutput) SetVnfPkgIds(v []*string) *ValidateSolNetworkPackageContentOutput {
+ s.VnfPkgIds = v
+ return s
+}
+
+// Unable to process the request because the client provided input failed to
+// satisfy request constraints.
+type ValidationException struct {
+ _ struct{} `type:"structure"`
+ RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
+
+ Message_ *string `locationName:"message" type:"string"`
+}
+
+// String returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation.
+//
+// API parameter values that are decorated as "sensitive" in the API will not
+// be included in the string output. The member name will be present, but the
+// value will be replaced with "sensitive".
+func (s ValidationException) GoString() string {
+ return s.String()
+}
+
+func newErrorValidationException(v protocol.ResponseMetadata) error {
+ return &ValidationException{
+ RespMetadata: v,
+ }
+}
+
+// Code returns the exception type name.
+func (s *ValidationException) Code() string {
+ return "ValidationException"
+}
+
+// Message returns the exception's message.
+func (s *ValidationException) Message() string {
+ if s.Message_ != nil {
+ return *s.Message_
+ }
+ return ""
+}
+
+// OrigErr always returns nil, satisfies awserr.Error interface.
+func (s *ValidationException) OrigErr() error {
+ return nil
+}
+
+func (s *ValidationException) Error() string {
+ return fmt.Sprintf("%s: %s", s.Code(), s.Message())
+}
+
+// Status code returns the HTTP status code for the request's response error.
+func (s *ValidationException) StatusCode() int {
+ return s.RespMetadata.StatusCode
+}
+
+// RequestID returns the service's response RequestID for request.
+func (s *ValidationException) RequestID() string {
+ return s.RespMetadata.RequestID
+}
+
+const (
+ // DescriptorContentTypeTextPlain is a DescriptorContentType enum value
+ DescriptorContentTypeTextPlain = "text/plain"
+)
+
+// DescriptorContentType_Values returns all elements of the DescriptorContentType enum
+func DescriptorContentType_Values() []string {
+ return []string{
+ DescriptorContentTypeTextPlain,
+ }
+}
+
+const (
+ // LcmOperationTypeInstantiate is a LcmOperationType enum value
+ LcmOperationTypeInstantiate = "INSTANTIATE"
+
+ // LcmOperationTypeUpdate is a LcmOperationType enum value
+ LcmOperationTypeUpdate = "UPDATE"
+
+ // LcmOperationTypeTerminate is a LcmOperationType enum value
+ LcmOperationTypeTerminate = "TERMINATE"
+)
+
+// LcmOperationType_Values returns all elements of the LcmOperationType enum
+func LcmOperationType_Values() []string {
+ return []string{
+ LcmOperationTypeInstantiate,
+ LcmOperationTypeUpdate,
+ LcmOperationTypeTerminate,
+ }
+}
+
+const (
+ // NsLcmOperationStateProcessing is a NsLcmOperationState enum value
+ NsLcmOperationStateProcessing = "PROCESSING"
+
+ // NsLcmOperationStateCompleted is a NsLcmOperationState enum value
+ NsLcmOperationStateCompleted = "COMPLETED"
+
+ // NsLcmOperationStateFailed is a NsLcmOperationState enum value
+ NsLcmOperationStateFailed = "FAILED"
+
+ // NsLcmOperationStateCancelling is a NsLcmOperationState enum value
+ NsLcmOperationStateCancelling = "CANCELLING"
+
+ // NsLcmOperationStateCancelled is a NsLcmOperationState enum value
+ NsLcmOperationStateCancelled = "CANCELLED"
+)
+
+// NsLcmOperationState_Values returns all elements of the NsLcmOperationState enum
+func NsLcmOperationState_Values() []string {
+ return []string{
+ NsLcmOperationStateProcessing,
+ NsLcmOperationStateCompleted,
+ NsLcmOperationStateFailed,
+ NsLcmOperationStateCancelling,
+ NsLcmOperationStateCancelled,
+ }
+}
+
+const (
+ // NsStateInstantiated is a NsState enum value
+ NsStateInstantiated = "INSTANTIATED"
+
+ // NsStateNotInstantiated is a NsState enum value
+ NsStateNotInstantiated = "NOT_INSTANTIATED"
+
+ // NsStateImpaired is a NsState enum value
+ NsStateImpaired = "IMPAIRED"
+
+ // NsStateStopped is a NsState enum value
+ NsStateStopped = "STOPPED"
+
+ // NsStateDeleted is a NsState enum value
+ NsStateDeleted = "DELETED"
+
+ // NsStateInstantiateInProgress is a NsState enum value
+ NsStateInstantiateInProgress = "INSTANTIATE_IN_PROGRESS"
+
+ // NsStateUpdateInProgress is a NsState enum value
+ NsStateUpdateInProgress = "UPDATE_IN_PROGRESS"
+
+ // NsStateTerminateInProgress is a NsState enum value
+ NsStateTerminateInProgress = "TERMINATE_IN_PROGRESS"
+)
+
+// NsState_Values returns all elements of the NsState enum
+func NsState_Values() []string {
+ return []string{
+ NsStateInstantiated,
+ NsStateNotInstantiated,
+ NsStateImpaired,
+ NsStateStopped,
+ NsStateDeleted,
+ NsStateInstantiateInProgress,
+ NsStateUpdateInProgress,
+ NsStateTerminateInProgress,
+ }
+}
+
+const (
+ // NsdOnboardingStateCreated is a NsdOnboardingState enum value
+ NsdOnboardingStateCreated = "CREATED"
+
+ // NsdOnboardingStateOnboarded is a NsdOnboardingState enum value
+ NsdOnboardingStateOnboarded = "ONBOARDED"
+
+ // NsdOnboardingStateError is a NsdOnboardingState enum value
+ NsdOnboardingStateError = "ERROR"
+)
+
+// NsdOnboardingState_Values returns all elements of the NsdOnboardingState enum
+func NsdOnboardingState_Values() []string {
+ return []string{
+ NsdOnboardingStateCreated,
+ NsdOnboardingStateOnboarded,
+ NsdOnboardingStateError,
+ }
+}
+
+const (
+ // NsdOperationalStateEnabled is a NsdOperationalState enum value
+ NsdOperationalStateEnabled = "ENABLED"
+
+ // NsdOperationalStateDisabled is a NsdOperationalState enum value
+ NsdOperationalStateDisabled = "DISABLED"
+)
+
+// NsdOperationalState_Values returns all elements of the NsdOperationalState enum
+func NsdOperationalState_Values() []string {
+ return []string{
+ NsdOperationalStateEnabled,
+ NsdOperationalStateDisabled,
+ }
+}
+
+const (
+ // NsdUsageStateInUse is a NsdUsageState enum value
+ NsdUsageStateInUse = "IN_USE"
+
+ // NsdUsageStateNotInUse is a NsdUsageState enum value
+ NsdUsageStateNotInUse = "NOT_IN_USE"
+)
+
+// NsdUsageState_Values returns all elements of the NsdUsageState enum
+func NsdUsageState_Values() []string {
+ return []string{
+ NsdUsageStateInUse,
+ NsdUsageStateNotInUse,
+ }
+}
+
+const (
+ // OnboardingStateCreated is a OnboardingState enum value
+ OnboardingStateCreated = "CREATED"
+
+ // OnboardingStateOnboarded is a OnboardingState enum value
+ OnboardingStateOnboarded = "ONBOARDED"
+
+ // OnboardingStateError is a OnboardingState enum value
+ OnboardingStateError = "ERROR"
+)
+
+// OnboardingState_Values returns all elements of the OnboardingState enum
+func OnboardingState_Values() []string {
+ return []string{
+ OnboardingStateCreated,
+ OnboardingStateOnboarded,
+ OnboardingStateError,
+ }
+}
+
+const (
+ // OperationalStateEnabled is a OperationalState enum value
+ OperationalStateEnabled = "ENABLED"
+
+ // OperationalStateDisabled is a OperationalState enum value
+ OperationalStateDisabled = "DISABLED"
+)
+
+// OperationalState_Values returns all elements of the OperationalState enum
+func OperationalState_Values() []string {
+ return []string{
+ OperationalStateEnabled,
+ OperationalStateDisabled,
+ }
+}
+
+const (
+ // PackageContentTypeApplicationZip is a PackageContentType enum value
+ PackageContentTypeApplicationZip = "application/zip"
+)
+
+// PackageContentType_Values returns all elements of the PackageContentType enum
+func PackageContentType_Values() []string {
+ return []string{
+ PackageContentTypeApplicationZip,
+ }
+}
+
+const (
+ // TaskStatusScheduled is a TaskStatus enum value
+ TaskStatusScheduled = "SCHEDULED"
+
+ // TaskStatusStarted is a TaskStatus enum value
+ TaskStatusStarted = "STARTED"
+
+ // TaskStatusInProgress is a TaskStatus enum value
+ TaskStatusInProgress = "IN_PROGRESS"
+
+ // TaskStatusCompleted is a TaskStatus enum value
+ TaskStatusCompleted = "COMPLETED"
+
+ // TaskStatusError is a TaskStatus enum value
+ TaskStatusError = "ERROR"
+
+ // TaskStatusSkipped is a TaskStatus enum value
+ TaskStatusSkipped = "SKIPPED"
+
+ // TaskStatusCancelled is a TaskStatus enum value
+ TaskStatusCancelled = "CANCELLED"
+)
+
+// TaskStatus_Values returns all elements of the TaskStatus enum
+func TaskStatus_Values() []string {
+ return []string{
+ TaskStatusScheduled,
+ TaskStatusStarted,
+ TaskStatusInProgress,
+ TaskStatusCompleted,
+ TaskStatusError,
+ TaskStatusSkipped,
+ TaskStatusCancelled,
+ }
+}
+
+const (
+ // UpdateSolNetworkTypeModifyVnfInformation is a UpdateSolNetworkType enum value
+ UpdateSolNetworkTypeModifyVnfInformation = "MODIFY_VNF_INFORMATION"
+)
+
+// UpdateSolNetworkType_Values returns all elements of the UpdateSolNetworkType enum
+func UpdateSolNetworkType_Values() []string {
+ return []string{
+ UpdateSolNetworkTypeModifyVnfInformation,
+ }
+}
+
+const (
+ // UsageStateInUse is a UsageState enum value
+ UsageStateInUse = "IN_USE"
+
+ // UsageStateNotInUse is a UsageState enum value
+ UsageStateNotInUse = "NOT_IN_USE"
+)
+
+// UsageState_Values returns all elements of the UsageState enum
+func UsageState_Values() []string {
+ return []string{
+ UsageStateInUse,
+ UsageStateNotInUse,
+ }
+}
+
+const (
+ // VnfInstantiationStateInstantiated is a VnfInstantiationState enum value
+ VnfInstantiationStateInstantiated = "INSTANTIATED"
+
+ // VnfInstantiationStateNotInstantiated is a VnfInstantiationState enum value
+ VnfInstantiationStateNotInstantiated = "NOT_INSTANTIATED"
+)
+
+// VnfInstantiationState_Values returns all elements of the VnfInstantiationState enum
+func VnfInstantiationState_Values() []string {
+ return []string{
+ VnfInstantiationStateInstantiated,
+ VnfInstantiationStateNotInstantiated,
+ }
+}
+
+const (
+ // VnfOperationalStateStarted is a VnfOperationalState enum value
+ VnfOperationalStateStarted = "STARTED"
+
+ // VnfOperationalStateStopped is a VnfOperationalState enum value
+ VnfOperationalStateStopped = "STOPPED"
+)
+
+// VnfOperationalState_Values returns all elements of the VnfOperationalState enum
+func VnfOperationalState_Values() []string {
+ return []string{
+ VnfOperationalStateStarted,
+ VnfOperationalStateStopped,
+ }
+}
diff --git a/service/tnb/doc.go b/service/tnb/doc.go
new file mode 100644
index 00000000000..a80872fd262
--- /dev/null
+++ b/service/tnb/doc.go
@@ -0,0 +1,31 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package tnb provides the client and types for making API
+// requests to AWS Telco Network Builder.
+//
+// Amazon Web Services Telco Network Builder (TNB) is a network automation service
+// that helps you deploy and manage telecom networks. AWS TNB helps you with
+// the lifecycle management of your telecommunication network functions throughout
+// planning, deployment, and post-deployment activities.
+//
+// See https://docs.aws.amazon.com/goto/WebAPI/tnb-2008-10-21 for more information on this service.
+//
+// See tnb package documentation for more information.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/tnb/
+//
+// # Using the Client
+//
+// To contact AWS Telco Network Builder with the SDK use the New function to create
+// a new service client. With that client you can make API requests to the service.
+// These clients are safe to use concurrently.
+//
+// See the SDK's documentation for more information on how to use the SDK.
+// https://docs.aws.amazon.com/sdk-for-go/api/
+//
+// See aws.Config documentation for more information on configuring SDK clients.
+// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
+//
+// See the AWS Telco Network Builder client Tnb for more
+// information on creating client for this service.
+// https://docs.aws.amazon.com/sdk-for-go/api/service/tnb/#New
+package tnb
diff --git a/service/tnb/errors.go b/service/tnb/errors.go
new file mode 100644
index 00000000000..7022c3cd513
--- /dev/null
+++ b/service/tnb/errors.go
@@ -0,0 +1,56 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package tnb
+
+import (
+ "github.com/aws/aws-sdk-go/private/protocol"
+)
+
+const (
+
+ // ErrCodeAccessDeniedException for service response error code
+ // "AccessDeniedException".
+ //
+ // Insufficient permissions to make request.
+ ErrCodeAccessDeniedException = "AccessDeniedException"
+
+ // ErrCodeInternalServerException for service response error code
+ // "InternalServerException".
+ //
+ // Unexpected error occurred. Problem on the server.
+ ErrCodeInternalServerException = "InternalServerException"
+
+ // ErrCodeResourceNotFoundException for service response error code
+ // "ResourceNotFoundException".
+ //
+ // Request references a resource that doesn't exist.
+ ErrCodeResourceNotFoundException = "ResourceNotFoundException"
+
+ // ErrCodeServiceQuotaExceededException for service response error code
+ // "ServiceQuotaExceededException".
+ //
+ // Service quotas have been exceeded.
+ ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
+
+ // ErrCodeThrottlingException for service response error code
+ // "ThrottlingException".
+ //
+ // Exception caused by throttling.
+ ErrCodeThrottlingException = "ThrottlingException"
+
+ // ErrCodeValidationException for service response error code
+ // "ValidationException".
+ //
+ // Unable to process the request because the client provided input failed to
+ // satisfy request constraints.
+ ErrCodeValidationException = "ValidationException"
+)
+
+var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
+ "AccessDeniedException": newErrorAccessDeniedException,
+ "InternalServerException": newErrorInternalServerException,
+ "ResourceNotFoundException": newErrorResourceNotFoundException,
+ "ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
+ "ThrottlingException": newErrorThrottlingException,
+ "ValidationException": newErrorValidationException,
+}
diff --git a/service/tnb/service.go b/service/tnb/service.go
new file mode 100644
index 00000000000..f690cebb72f
--- /dev/null
+++ b/service/tnb/service.go
@@ -0,0 +1,106 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+package tnb
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/client"
+ "github.com/aws/aws-sdk-go/aws/client/metadata"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/aws/signer/v4"
+ "github.com/aws/aws-sdk-go/private/protocol"
+ "github.com/aws/aws-sdk-go/private/protocol/restjson"
+)
+
+// Tnb provides the API operation methods for making requests to
+// AWS Telco Network Builder. See this package's package overview docs
+// for details on the service.
+//
+// Tnb methods are safe to use concurrently. It is not safe to
+// modify mutate any of the struct's properties though.
+type Tnb struct {
+ *client.Client
+}
+
+// Used for custom client initialization logic
+var initClient func(*client.Client)
+
+// Used for custom request initialization logic
+var initRequest func(*request.Request)
+
+// Service information constants
+const (
+ ServiceName = "tnb" // Name of service.
+ EndpointsID = ServiceName // ID to lookup a service endpoint with.
+ ServiceID = "tnb" // ServiceID is a unique identifier of a specific service.
+)
+
+// New creates a new instance of the Tnb client with a session.
+// If additional configuration is needed for the client instance use the optional
+// aws.Config parameter to add your extra config.
+//
+// Example:
+//
+// mySession := session.Must(session.NewSession())
+//
+// // Create a Tnb client from just a session.
+// svc := tnb.New(mySession)
+//
+// // Create a Tnb client with additional configuration
+// svc := tnb.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
+func New(p client.ConfigProvider, cfgs ...*aws.Config) *Tnb {
+ c := p.ClientConfig(EndpointsID, cfgs...)
+ if c.SigningNameDerived || len(c.SigningName) == 0 {
+ c.SigningName = "tnb"
+ }
+ return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName, c.ResolvedRegion)
+}
+
+// newClient creates, initializes and returns a new service client instance.
+func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName, resolvedRegion string) *Tnb {
+ svc := &Tnb{
+ Client: client.New(
+ cfg,
+ metadata.ClientInfo{
+ ServiceName: ServiceName,
+ ServiceID: ServiceID,
+ SigningName: signingName,
+ SigningRegion: signingRegion,
+ PartitionID: partitionID,
+ Endpoint: endpoint,
+ APIVersion: "2008-10-21",
+ ResolvedRegion: resolvedRegion,
+ },
+ handlers,
+ ),
+ }
+
+ // Handlers
+ svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler)
+ svc.Handlers.Build.PushBackNamed(restjson.BuildHandler)
+ svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler)
+ svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler)
+ svc.Handlers.UnmarshalError.PushBackNamed(
+ protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(),
+ )
+
+ // Run custom client initialization if present
+ if initClient != nil {
+ initClient(svc.Client)
+ }
+
+ return svc
+}
+
+// newRequest creates a new request for a Tnb operation and runs any
+// custom request initialization.
+func (c *Tnb) newRequest(op *request.Operation, params, data interface{}) *request.Request {
+ req := c.NewRequest(op, params, data)
+
+ // Run custom request initialization if present
+ if initRequest != nil {
+ initRequest(req)
+ }
+
+ return req
+}
diff --git a/service/tnb/tnbiface/interface.go b/service/tnb/tnbiface/interface.go
new file mode 100644
index 00000000000..78498752bc2
--- /dev/null
+++ b/service/tnb/tnbiface/interface.go
@@ -0,0 +1,211 @@
+// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
+
+// Package tnbiface provides an interface to enable mocking the AWS Telco Network Builder service client
+// for testing your code.
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters.
+package tnbiface
+
+import (
+ "github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/aws/request"
+ "github.com/aws/aws-sdk-go/service/tnb"
+)
+
+// TnbAPI provides an interface to enable mocking the
+// tnb.Tnb service client's API operation,
+// paginators, and waiters. This make unit testing your code that calls out
+// to the SDK's service client's calls easier.
+//
+// The best way to use this interface is so the SDK's service client's calls
+// can be stubbed out for unit testing your code with the SDK without needing
+// to inject custom request handlers into the SDK's request pipeline.
+//
+// // myFunc uses an SDK service client to make a request to
+// // AWS Telco Network Builder.
+// func myFunc(svc tnbiface.TnbAPI) bool {
+// // Make svc.CancelSolNetworkOperation request
+// }
+//
+// func main() {
+// sess := session.New()
+// svc := tnb.New(sess)
+//
+// myFunc(svc)
+// }
+//
+// In your _test.go file:
+//
+// // Define a mock struct to be used in your unit tests of myFunc.
+// type mockTnbClient struct {
+// tnbiface.TnbAPI
+// }
+// func (m *mockTnbClient) CancelSolNetworkOperation(input *tnb.CancelSolNetworkOperationInput) (*tnb.CancelSolNetworkOperationOutput, error) {
+// // mock response/functionality
+// }
+//
+// func TestMyFunc(t *testing.T) {
+// // Setup Test
+// mockSvc := &mockTnbClient{}
+//
+// myfunc(mockSvc)
+//
+// // Verify myFunc's functionality
+// }
+//
+// It is important to note that this interface will have breaking changes
+// when the service model is updated and adds new API operations, paginators,
+// and waiters. Its suggested to use the pattern above for testing, or using
+// tooling to generate mocks to satisfy the interfaces.
+type TnbAPI interface {
+ CancelSolNetworkOperation(*tnb.CancelSolNetworkOperationInput) (*tnb.CancelSolNetworkOperationOutput, error)
+ CancelSolNetworkOperationWithContext(aws.Context, *tnb.CancelSolNetworkOperationInput, ...request.Option) (*tnb.CancelSolNetworkOperationOutput, error)
+ CancelSolNetworkOperationRequest(*tnb.CancelSolNetworkOperationInput) (*request.Request, *tnb.CancelSolNetworkOperationOutput)
+
+ CreateSolFunctionPackage(*tnb.CreateSolFunctionPackageInput) (*tnb.CreateSolFunctionPackageOutput, error)
+ CreateSolFunctionPackageWithContext(aws.Context, *tnb.CreateSolFunctionPackageInput, ...request.Option) (*tnb.CreateSolFunctionPackageOutput, error)
+ CreateSolFunctionPackageRequest(*tnb.CreateSolFunctionPackageInput) (*request.Request, *tnb.CreateSolFunctionPackageOutput)
+
+ CreateSolNetworkInstance(*tnb.CreateSolNetworkInstanceInput) (*tnb.CreateSolNetworkInstanceOutput, error)
+ CreateSolNetworkInstanceWithContext(aws.Context, *tnb.CreateSolNetworkInstanceInput, ...request.Option) (*tnb.CreateSolNetworkInstanceOutput, error)
+ CreateSolNetworkInstanceRequest(*tnb.CreateSolNetworkInstanceInput) (*request.Request, *tnb.CreateSolNetworkInstanceOutput)
+
+ CreateSolNetworkPackage(*tnb.CreateSolNetworkPackageInput) (*tnb.CreateSolNetworkPackageOutput, error)
+ CreateSolNetworkPackageWithContext(aws.Context, *tnb.CreateSolNetworkPackageInput, ...request.Option) (*tnb.CreateSolNetworkPackageOutput, error)
+ CreateSolNetworkPackageRequest(*tnb.CreateSolNetworkPackageInput) (*request.Request, *tnb.CreateSolNetworkPackageOutput)
+
+ DeleteSolFunctionPackage(*tnb.DeleteSolFunctionPackageInput) (*tnb.DeleteSolFunctionPackageOutput, error)
+ DeleteSolFunctionPackageWithContext(aws.Context, *tnb.DeleteSolFunctionPackageInput, ...request.Option) (*tnb.DeleteSolFunctionPackageOutput, error)
+ DeleteSolFunctionPackageRequest(*tnb.DeleteSolFunctionPackageInput) (*request.Request, *tnb.DeleteSolFunctionPackageOutput)
+
+ DeleteSolNetworkInstance(*tnb.DeleteSolNetworkInstanceInput) (*tnb.DeleteSolNetworkInstanceOutput, error)
+ DeleteSolNetworkInstanceWithContext(aws.Context, *tnb.DeleteSolNetworkInstanceInput, ...request.Option) (*tnb.DeleteSolNetworkInstanceOutput, error)
+ DeleteSolNetworkInstanceRequest(*tnb.DeleteSolNetworkInstanceInput) (*request.Request, *tnb.DeleteSolNetworkInstanceOutput)
+
+ DeleteSolNetworkPackage(*tnb.DeleteSolNetworkPackageInput) (*tnb.DeleteSolNetworkPackageOutput, error)
+ DeleteSolNetworkPackageWithContext(aws.Context, *tnb.DeleteSolNetworkPackageInput, ...request.Option) (*tnb.DeleteSolNetworkPackageOutput, error)
+ DeleteSolNetworkPackageRequest(*tnb.DeleteSolNetworkPackageInput) (*request.Request, *tnb.DeleteSolNetworkPackageOutput)
+
+ GetSolFunctionInstance(*tnb.GetSolFunctionInstanceInput) (*tnb.GetSolFunctionInstanceOutput, error)
+ GetSolFunctionInstanceWithContext(aws.Context, *tnb.GetSolFunctionInstanceInput, ...request.Option) (*tnb.GetSolFunctionInstanceOutput, error)
+ GetSolFunctionInstanceRequest(*tnb.GetSolFunctionInstanceInput) (*request.Request, *tnb.GetSolFunctionInstanceOutput)
+
+ GetSolFunctionPackage(*tnb.GetSolFunctionPackageInput) (*tnb.GetSolFunctionPackageOutput, error)
+ GetSolFunctionPackageWithContext(aws.Context, *tnb.GetSolFunctionPackageInput, ...request.Option) (*tnb.GetSolFunctionPackageOutput, error)
+ GetSolFunctionPackageRequest(*tnb.GetSolFunctionPackageInput) (*request.Request, *tnb.GetSolFunctionPackageOutput)
+
+ GetSolFunctionPackageContent(*tnb.GetSolFunctionPackageContentInput) (*tnb.GetSolFunctionPackageContentOutput, error)
+ GetSolFunctionPackageContentWithContext(aws.Context, *tnb.GetSolFunctionPackageContentInput, ...request.Option) (*tnb.GetSolFunctionPackageContentOutput, error)
+ GetSolFunctionPackageContentRequest(*tnb.GetSolFunctionPackageContentInput) (*request.Request, *tnb.GetSolFunctionPackageContentOutput)
+
+ GetSolFunctionPackageDescriptor(*tnb.GetSolFunctionPackageDescriptorInput) (*tnb.GetSolFunctionPackageDescriptorOutput, error)
+ GetSolFunctionPackageDescriptorWithContext(aws.Context, *tnb.GetSolFunctionPackageDescriptorInput, ...request.Option) (*tnb.GetSolFunctionPackageDescriptorOutput, error)
+ GetSolFunctionPackageDescriptorRequest(*tnb.GetSolFunctionPackageDescriptorInput) (*request.Request, *tnb.GetSolFunctionPackageDescriptorOutput)
+
+ GetSolNetworkInstance(*tnb.GetSolNetworkInstanceInput) (*tnb.GetSolNetworkInstanceOutput, error)
+ GetSolNetworkInstanceWithContext(aws.Context, *tnb.GetSolNetworkInstanceInput, ...request.Option) (*tnb.GetSolNetworkInstanceOutput, error)
+ GetSolNetworkInstanceRequest(*tnb.GetSolNetworkInstanceInput) (*request.Request, *tnb.GetSolNetworkInstanceOutput)
+
+ GetSolNetworkOperation(*tnb.GetSolNetworkOperationInput) (*tnb.GetSolNetworkOperationOutput, error)
+ GetSolNetworkOperationWithContext(aws.Context, *tnb.GetSolNetworkOperationInput, ...request.Option) (*tnb.GetSolNetworkOperationOutput, error)
+ GetSolNetworkOperationRequest(*tnb.GetSolNetworkOperationInput) (*request.Request, *tnb.GetSolNetworkOperationOutput)
+
+ GetSolNetworkPackage(*tnb.GetSolNetworkPackageInput) (*tnb.GetSolNetworkPackageOutput, error)
+ GetSolNetworkPackageWithContext(aws.Context, *tnb.GetSolNetworkPackageInput, ...request.Option) (*tnb.GetSolNetworkPackageOutput, error)
+ GetSolNetworkPackageRequest(*tnb.GetSolNetworkPackageInput) (*request.Request, *tnb.GetSolNetworkPackageOutput)
+
+ GetSolNetworkPackageContent(*tnb.GetSolNetworkPackageContentInput) (*tnb.GetSolNetworkPackageContentOutput, error)
+ GetSolNetworkPackageContentWithContext(aws.Context, *tnb.GetSolNetworkPackageContentInput, ...request.Option) (*tnb.GetSolNetworkPackageContentOutput, error)
+ GetSolNetworkPackageContentRequest(*tnb.GetSolNetworkPackageContentInput) (*request.Request, *tnb.GetSolNetworkPackageContentOutput)
+
+ GetSolNetworkPackageDescriptor(*tnb.GetSolNetworkPackageDescriptorInput) (*tnb.GetSolNetworkPackageDescriptorOutput, error)
+ GetSolNetworkPackageDescriptorWithContext(aws.Context, *tnb.GetSolNetworkPackageDescriptorInput, ...request.Option) (*tnb.GetSolNetworkPackageDescriptorOutput, error)
+ GetSolNetworkPackageDescriptorRequest(*tnb.GetSolNetworkPackageDescriptorInput) (*request.Request, *tnb.GetSolNetworkPackageDescriptorOutput)
+
+ InstantiateSolNetworkInstance(*tnb.InstantiateSolNetworkInstanceInput) (*tnb.InstantiateSolNetworkInstanceOutput, error)
+ InstantiateSolNetworkInstanceWithContext(aws.Context, *tnb.InstantiateSolNetworkInstanceInput, ...request.Option) (*tnb.InstantiateSolNetworkInstanceOutput, error)
+ InstantiateSolNetworkInstanceRequest(*tnb.InstantiateSolNetworkInstanceInput) (*request.Request, *tnb.InstantiateSolNetworkInstanceOutput)
+
+ ListSolFunctionInstances(*tnb.ListSolFunctionInstancesInput) (*tnb.ListSolFunctionInstancesOutput, error)
+ ListSolFunctionInstancesWithContext(aws.Context, *tnb.ListSolFunctionInstancesInput, ...request.Option) (*tnb.ListSolFunctionInstancesOutput, error)
+ ListSolFunctionInstancesRequest(*tnb.ListSolFunctionInstancesInput) (*request.Request, *tnb.ListSolFunctionInstancesOutput)
+
+ ListSolFunctionInstancesPages(*tnb.ListSolFunctionInstancesInput, func(*tnb.ListSolFunctionInstancesOutput, bool) bool) error
+ ListSolFunctionInstancesPagesWithContext(aws.Context, *tnb.ListSolFunctionInstancesInput, func(*tnb.ListSolFunctionInstancesOutput, bool) bool, ...request.Option) error
+
+ ListSolFunctionPackages(*tnb.ListSolFunctionPackagesInput) (*tnb.ListSolFunctionPackagesOutput, error)
+ ListSolFunctionPackagesWithContext(aws.Context, *tnb.ListSolFunctionPackagesInput, ...request.Option) (*tnb.ListSolFunctionPackagesOutput, error)
+ ListSolFunctionPackagesRequest(*tnb.ListSolFunctionPackagesInput) (*request.Request, *tnb.ListSolFunctionPackagesOutput)
+
+ ListSolFunctionPackagesPages(*tnb.ListSolFunctionPackagesInput, func(*tnb.ListSolFunctionPackagesOutput, bool) bool) error
+ ListSolFunctionPackagesPagesWithContext(aws.Context, *tnb.ListSolFunctionPackagesInput, func(*tnb.ListSolFunctionPackagesOutput, bool) bool, ...request.Option) error
+
+ ListSolNetworkInstances(*tnb.ListSolNetworkInstancesInput) (*tnb.ListSolNetworkInstancesOutput, error)
+ ListSolNetworkInstancesWithContext(aws.Context, *tnb.ListSolNetworkInstancesInput, ...request.Option) (*tnb.ListSolNetworkInstancesOutput, error)
+ ListSolNetworkInstancesRequest(*tnb.ListSolNetworkInstancesInput) (*request.Request, *tnb.ListSolNetworkInstancesOutput)
+
+ ListSolNetworkInstancesPages(*tnb.ListSolNetworkInstancesInput, func(*tnb.ListSolNetworkInstancesOutput, bool) bool) error
+ ListSolNetworkInstancesPagesWithContext(aws.Context, *tnb.ListSolNetworkInstancesInput, func(*tnb.ListSolNetworkInstancesOutput, bool) bool, ...request.Option) error
+
+ ListSolNetworkOperations(*tnb.ListSolNetworkOperationsInput) (*tnb.ListSolNetworkOperationsOutput, error)
+ ListSolNetworkOperationsWithContext(aws.Context, *tnb.ListSolNetworkOperationsInput, ...request.Option) (*tnb.ListSolNetworkOperationsOutput, error)
+ ListSolNetworkOperationsRequest(*tnb.ListSolNetworkOperationsInput) (*request.Request, *tnb.ListSolNetworkOperationsOutput)
+
+ ListSolNetworkOperationsPages(*tnb.ListSolNetworkOperationsInput, func(*tnb.ListSolNetworkOperationsOutput, bool) bool) error
+ ListSolNetworkOperationsPagesWithContext(aws.Context, *tnb.ListSolNetworkOperationsInput, func(*tnb.ListSolNetworkOperationsOutput, bool) bool, ...request.Option) error
+
+ ListSolNetworkPackages(*tnb.ListSolNetworkPackagesInput) (*tnb.ListSolNetworkPackagesOutput, error)
+ ListSolNetworkPackagesWithContext(aws.Context, *tnb.ListSolNetworkPackagesInput, ...request.Option) (*tnb.ListSolNetworkPackagesOutput, error)
+ ListSolNetworkPackagesRequest(*tnb.ListSolNetworkPackagesInput) (*request.Request, *tnb.ListSolNetworkPackagesOutput)
+
+ ListSolNetworkPackagesPages(*tnb.ListSolNetworkPackagesInput, func(*tnb.ListSolNetworkPackagesOutput, bool) bool) error
+ ListSolNetworkPackagesPagesWithContext(aws.Context, *tnb.ListSolNetworkPackagesInput, func(*tnb.ListSolNetworkPackagesOutput, bool) bool, ...request.Option) error
+
+ ListTagsForResource(*tnb.ListTagsForResourceInput) (*tnb.ListTagsForResourceOutput, error)
+ ListTagsForResourceWithContext(aws.Context, *tnb.ListTagsForResourceInput, ...request.Option) (*tnb.ListTagsForResourceOutput, error)
+ ListTagsForResourceRequest(*tnb.ListTagsForResourceInput) (*request.Request, *tnb.ListTagsForResourceOutput)
+
+ PutSolFunctionPackageContent(*tnb.PutSolFunctionPackageContentInput) (*tnb.PutSolFunctionPackageContentOutput, error)
+ PutSolFunctionPackageContentWithContext(aws.Context, *tnb.PutSolFunctionPackageContentInput, ...request.Option) (*tnb.PutSolFunctionPackageContentOutput, error)
+ PutSolFunctionPackageContentRequest(*tnb.PutSolFunctionPackageContentInput) (*request.Request, *tnb.PutSolFunctionPackageContentOutput)
+
+ PutSolNetworkPackageContent(*tnb.PutSolNetworkPackageContentInput) (*tnb.PutSolNetworkPackageContentOutput, error)
+ PutSolNetworkPackageContentWithContext(aws.Context, *tnb.PutSolNetworkPackageContentInput, ...request.Option) (*tnb.PutSolNetworkPackageContentOutput, error)
+ PutSolNetworkPackageContentRequest(*tnb.PutSolNetworkPackageContentInput) (*request.Request, *tnb.PutSolNetworkPackageContentOutput)
+
+ TagResource(*tnb.TagResourceInput) (*tnb.TagResourceOutput, error)
+ TagResourceWithContext(aws.Context, *tnb.TagResourceInput, ...request.Option) (*tnb.TagResourceOutput, error)
+ TagResourceRequest(*tnb.TagResourceInput) (*request.Request, *tnb.TagResourceOutput)
+
+ TerminateSolNetworkInstance(*tnb.TerminateSolNetworkInstanceInput) (*tnb.TerminateSolNetworkInstanceOutput, error)
+ TerminateSolNetworkInstanceWithContext(aws.Context, *tnb.TerminateSolNetworkInstanceInput, ...request.Option) (*tnb.TerminateSolNetworkInstanceOutput, error)
+ TerminateSolNetworkInstanceRequest(*tnb.TerminateSolNetworkInstanceInput) (*request.Request, *tnb.TerminateSolNetworkInstanceOutput)
+
+ UntagResource(*tnb.UntagResourceInput) (*tnb.UntagResourceOutput, error)
+ UntagResourceWithContext(aws.Context, *tnb.UntagResourceInput, ...request.Option) (*tnb.UntagResourceOutput, error)
+ UntagResourceRequest(*tnb.UntagResourceInput) (*request.Request, *tnb.UntagResourceOutput)
+
+ UpdateSolFunctionPackage(*tnb.UpdateSolFunctionPackageInput) (*tnb.UpdateSolFunctionPackageOutput, error)
+ UpdateSolFunctionPackageWithContext(aws.Context, *tnb.UpdateSolFunctionPackageInput, ...request.Option) (*tnb.UpdateSolFunctionPackageOutput, error)
+ UpdateSolFunctionPackageRequest(*tnb.UpdateSolFunctionPackageInput) (*request.Request, *tnb.UpdateSolFunctionPackageOutput)
+
+ UpdateSolNetworkInstance(*tnb.UpdateSolNetworkInstanceInput) (*tnb.UpdateSolNetworkInstanceOutput, error)
+ UpdateSolNetworkInstanceWithContext(aws.Context, *tnb.UpdateSolNetworkInstanceInput, ...request.Option) (*tnb.UpdateSolNetworkInstanceOutput, error)
+ UpdateSolNetworkInstanceRequest(*tnb.UpdateSolNetworkInstanceInput) (*request.Request, *tnb.UpdateSolNetworkInstanceOutput)
+
+ UpdateSolNetworkPackage(*tnb.UpdateSolNetworkPackageInput) (*tnb.UpdateSolNetworkPackageOutput, error)
+ UpdateSolNetworkPackageWithContext(aws.Context, *tnb.UpdateSolNetworkPackageInput, ...request.Option) (*tnb.UpdateSolNetworkPackageOutput, error)
+ UpdateSolNetworkPackageRequest(*tnb.UpdateSolNetworkPackageInput) (*request.Request, *tnb.UpdateSolNetworkPackageOutput)
+
+ ValidateSolFunctionPackageContent(*tnb.ValidateSolFunctionPackageContentInput) (*tnb.ValidateSolFunctionPackageContentOutput, error)
+ ValidateSolFunctionPackageContentWithContext(aws.Context, *tnb.ValidateSolFunctionPackageContentInput, ...request.Option) (*tnb.ValidateSolFunctionPackageContentOutput, error)
+ ValidateSolFunctionPackageContentRequest(*tnb.ValidateSolFunctionPackageContentInput) (*request.Request, *tnb.ValidateSolFunctionPackageContentOutput)
+
+ ValidateSolNetworkPackageContent(*tnb.ValidateSolNetworkPackageContentInput) (*tnb.ValidateSolNetworkPackageContentOutput, error)
+ ValidateSolNetworkPackageContentWithContext(aws.Context, *tnb.ValidateSolNetworkPackageContentInput, ...request.Option) (*tnb.ValidateSolNetworkPackageContentOutput, error)
+ ValidateSolNetworkPackageContentRequest(*tnb.ValidateSolNetworkPackageContentInput) (*request.Request, *tnb.ValidateSolNetworkPackageContentOutput)
+}
+
+var _ TnbAPI = (*tnb.Tnb)(nil)