|
1046 | 1046 | {"shape":"InvalidParameterValueException"},
|
1047 | 1047 | {"shape":"MaxNumberOfConformancePacksExceededException"}
|
1048 | 1048 | ],
|
1049 |
| - "documentation":"<p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization. For information on how many conformance packs you can have per account, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html\"> <b>Service Limits</b> </a> in the Config Developer Guide.</p> <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account. The service-linked role is created only when the role does not exist in your account. </p> <note> <p>You must specify either the <code>TemplateS3Uri</code> or the <code>TemplateBody</code> parameter, but not both. If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p> </note>" |
| 1049 | + "documentation":"<p>Creates or updates a conformance pack. A conformance pack is a collection of Config rules that can be easily deployed in an account and a region and across Amazon Web Services Organization. For information on how many conformance packs you can have per account, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html\"> <b>Service Limits</b> </a> in the Config Developer Guide.</p> <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account. The service-linked role is created only when the role does not exist in your account. </p> <note> <p>You must specify one and only one of the<code>TemplateS3Uri</code>, <code>TemplateBody</code> or <code>TemplateSSMDocumentDetails</code> parameters.</p> </note>" |
1050 | 1050 | },
|
1051 | 1051 | "PutDeliveryChannel":{
|
1052 | 1052 | "name":"PutDeliveryChannel",
|
|
2572 | 2572 | },
|
2573 | 2573 | "LastUpdateRequestedTime":{
|
2574 | 2574 | "shape":"Date",
|
2575 |
| - "documentation":"<p>Last time when conformation pack update was requested. </p>" |
| 2575 | + "documentation":"<p>The last time a conformation pack update was requested. </p>" |
2576 | 2576 | },
|
2577 | 2577 | "CreatedBy":{
|
2578 | 2578 | "shape":"StringWithCharLimit256",
|
2579 |
| - "documentation":"<p>Amazon Web Services service that created the conformance pack.</p>" |
| 2579 | + "documentation":"<p>The Amazon Web Services service that created the conformance pack.</p>" |
| 2580 | + }, |
| 2581 | + "TemplateSSMDocumentDetails":{ |
| 2582 | + "shape":"TemplateSSMDocumentDetails", |
| 2583 | + "documentation":"<p>An object that contains the name or Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.</p>" |
2580 | 2584 | }
|
2581 | 2585 | },
|
2582 | 2586 | "documentation":"<p>Returns details of a conformance pack. A conformance pack is a collection of Config rules and remediation actions that can be easily deployed in an account and a region.</p>"
|
|
4783 | 4787 | "type":"structure",
|
4784 | 4788 | "members":{
|
4785 | 4789 | },
|
4786 |
| - "documentation":"<p>Indicates one of the following errors:</p> <ul> <li> <p>For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p> </li> <li> <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p> </li> <li> <p>For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p> </li> <li> <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions: </p> <ul> <li> <p>To call IAM <code>GetRole</code> action or create a service-linked role.</p> </li> <li> <p>To read Amazon S3 bucket.</p> </li> </ul> </li> </ul>", |
| 4790 | + "documentation":"<p>Indicates one of the following errors:</p> <ul> <li> <p>For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.</p> </li> <li> <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p> </li> <li> <p>For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service-linked role.</p> </li> <li> <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions: </p> <ul> <li> <p>To call IAM <code>GetRole</code> action or create a service-linked role.</p> </li> <li> <p>To read Amazon S3 bucket or call SSM:GetDocument.</p> </li> </ul> </li> </ul>", |
4787 | 4791 | "exception":true
|
4788 | 4792 | },
|
4789 | 4793 | "Integer":{"type":"integer"},
|
|
6005 | 6009 | "members":{
|
6006 | 6010 | "ConformancePackName":{
|
6007 | 6011 | "shape":"ConformancePackName",
|
6008 |
| - "documentation":"<p>Name of the conformance pack you want to create.</p>" |
| 6012 | + "documentation":"<p>The unique name of the conformance pack you want to deploy.</p>" |
6009 | 6013 | },
|
6010 | 6014 | "TemplateS3Uri":{
|
6011 | 6015 | "shape":"TemplateS3Uri",
|
6012 |
| - "documentation":"<p>Location of file containing the template body (<code>s3://bucketname/prefix</code>). The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack. </p> <note> <p>You must have access to read Amazon S3 bucket.</p> </note>" |
| 6016 | + "documentation":"<p>The location of the file containing the template body (<code>s3://bucketname/prefix</code>). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack. </p> <note> <p>You must have access to read Amazon S3 bucket.</p> </note>" |
6013 | 6017 | },
|
6014 | 6018 | "TemplateBody":{
|
6015 | 6019 | "shape":"TemplateBody",
|
6016 |
| - "documentation":"<p>A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p> <note> <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and a remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p> </note>" |
| 6020 | + "documentation":"<p>A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.</p> <note> <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p> </note>" |
6017 | 6021 | },
|
6018 | 6022 | "DeliveryS3Bucket":{
|
6019 | 6023 | "shape":"DeliveryS3Bucket",
|
|
6026 | 6030 | "ConformancePackInputParameters":{
|
6027 | 6031 | "shape":"ConformancePackInputParameters",
|
6028 | 6032 | "documentation":"<p>A list of <code>ConformancePackInputParameter</code> objects.</p>"
|
| 6033 | + }, |
| 6034 | + "TemplateSSMDocumentDetails":{ |
| 6035 | + "shape":"TemplateSSMDocumentDetails", |
| 6036 | + "documentation":"<p>An object of type <code>TemplateSSMDocumentDetails</code>, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.</p>" |
6029 | 6037 | }
|
6030 | 6038 | }
|
6031 | 6039 | },
|
|
7041 | 7049 | "max":50,
|
7042 | 7050 | "min":0
|
7043 | 7051 | },
|
| 7052 | + "SSMDocumentName":{ |
| 7053 | + "type":"string", |
| 7054 | + "pattern":"^[a-zA-Z0-9_\\-.:/]{3,200}$" |
| 7055 | + }, |
| 7056 | + "SSMDocumentVersion":{ |
| 7057 | + "type":"string", |
| 7058 | + "pattern":"([$]LATEST|[$]DEFAULT|^[1-9][0-9]*$)" |
| 7059 | + }, |
7044 | 7060 | "SchemaVersionId":{
|
7045 | 7061 | "type":"string",
|
7046 | 7062 | "max":128,
|
|
7503 | 7519 | "min":1,
|
7504 | 7520 | "pattern":"s3://.*"
|
7505 | 7521 | },
|
| 7522 | + "TemplateSSMDocumentDetails":{ |
| 7523 | + "type":"structure", |
| 7524 | + "required":["DocumentName"], |
| 7525 | + "members":{ |
| 7526 | + "DocumentName":{ |
| 7527 | + "shape":"SSMDocumentName", |
| 7528 | + "documentation":"<p>The name or Amazon Resource Name (ARN) of the SSM document to use to create a conformance pack. If you use the Document Name, Config checks only your account and region for the SSM document. If you want to use an SSM document from another region or account, you must provide the ARN.</p>" |
| 7529 | + }, |
| 7530 | + "DocumentVersion":{ |
| 7531 | + "shape":"SSMDocumentVersion", |
| 7532 | + "documentation":"<p>The version of the SSM document to use to create a conformance pack. By default, Config uses the latest version.</p> <note> <p>This field is optional.</p> </note>" |
| 7533 | + } |
| 7534 | + }, |
| 7535 | + "documentation":"<p>This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM document). To deploy a conformance pack using an SSM document, you first create an SSM document with conformance pack content, and then provide the <code>DocumentName</code> (and optionally <code>DocumentVersion</code>) in the <a href=\"https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html\">PutConformancePack API</a>.</p> <p>The <code>TemplateSSMDocumentDetails</code> object contains the name of the SSM document and the version of the SSM document.</p>" |
| 7536 | + }, |
7506 | 7537 | "TooManyTagsException":{
|
7507 | 7538 | "type":"structure",
|
7508 | 7539 | "members":{
|
|
0 commit comments