Skip to content

Commit

Permalink
docs(client-lookoutvision): This documentation update adds kms:Genera…
Browse files Browse the repository at this point in the history
…teDataKey as a required permission to StartModelPackagingJob.
  • Loading branch information
awstools committed Dec 12, 2022
1 parent a57743b commit 34eac78
Show file tree
Hide file tree
Showing 5 changed files with 314 additions and 264 deletions.
5 changes: 5 additions & 0 deletions clients/client-lookoutvision/src/LookoutVision.ts
Expand Up @@ -760,6 +760,11 @@ export class LookoutVision extends LookoutVisionClient {
* </li>
* <li>
* <p>
* <code>kms:GenerateDataKey</code>
* </p>
* </li>
* <li>
* <p>
* <code>greengrass:CreateComponentVersion</code>
* </p>
* </li>
Expand Down
Expand Up @@ -59,6 +59,11 @@ export interface StartModelPackagingJobCommandOutput extends StartModelPackaging
* </li>
* <li>
* <p>
* <code>kms:GenerateDataKey</code>
* </p>
* </li>
* <li>
* <p>
* <code>greengrass:CreateComponentVersion</code>
* </p>
* </li>
Expand Down
Expand Up @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
};

export interface EndpointParameters extends __EndpointParameters {
Region?: string;
Region: string;
UseDualStack?: boolean;
UseFIPS?: boolean;
Endpoint?: string;
Expand Down
11 changes: 1 addition & 10 deletions clients/client-lookoutvision/src/endpoint/ruleset.ts
Expand Up @@ -6,7 +6,7 @@ export const ruleSet: RuleSetObject = {
parameters: {
Region: {
builtIn: "AWS::Region",
required: false,
required: true,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
Expand Down Expand Up @@ -58,15 +58,6 @@ export const ruleSet: RuleSetObject = {
},
],
},
{
fn: "parseURL",
argv: [
{
ref: "Endpoint",
},
],
assign: "url",
},
],
type: "tree",
rules: [
Expand Down

0 comments on commit 34eac78

Please sign in to comment.