Skip to content

Commit ee02077

Browse files
committed
feat: update spec
1 parent c095b5d commit ee02077

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+26779
-1588
lines changed

src/aws.ts

+64-5
Large diffs are not rendered by default.

src/aws/accessanalyzer.ts

+44-5
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ const completionSpec: Fig.Spec = {
9595
{
9696
name: "--access",
9797
description:
98-
"An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access of the actions on all resources in the policy. If only resources are specified, then IAM Access Analyzer checks which actions have access to the specified resources. If both actions and resources are specified, then IAM Access Analyzer checks which of the specified actions have access to the specified resources",
98+
"An access object containing the permissions that shouldn't be granted by the specified policy. If only actions are specified, IAM Access Analyzer checks for access to peform at least one of the actions on any resource in the policy. If only resources are specified, then IAM Access Analyzer checks for access to perform any action on at least one of the resources. If both actions and resources are specified, IAM Access Analyzer checks for access to perform at least one of the specified actions on at least one of the specified resources",
9999
args: {
100100
name: "list",
101101
},
102102
},
103103
{
104104
name: "--policy-type",
105105
description:
106-
"The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets. You can provide a generic input such as identity policy or resource policy or a specific input such as managed policy or Amazon S3 bucket policy",
106+
"The type of policy. Identity policies grant permissions to IAM principals. Identity policies include managed and inline policies for IAM roles, users, and groups. Resource policies grant permissions on Amazon Web Services resources. Resource policies include trust policies for IAM roles and bucket policies for Amazon S3 buckets",
107107
args: {
108108
name: "string",
109109
},
@@ -290,7 +290,8 @@ const completionSpec: Fig.Spec = {
290290
},
291291
{
292292
name: "--tags",
293-
description: "An array of key-value pairs to apply to the analyzer",
293+
description:
294+
"An array of key-value pairs to apply to the analyzer. You can use the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:. For the tag value, you can specify a value that is 0 to 256 characters in length",
294295
args: {
295296
name: "map",
296297
},
@@ -305,7 +306,7 @@ const completionSpec: Fig.Spec = {
305306
{
306307
name: "--configuration",
307308
description:
308-
"Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used",
309+
"Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration",
309310
args: {
310311
name: "structure",
311312
},
@@ -1049,7 +1050,7 @@ const completionSpec: Fig.Spec = {
10491050
{
10501051
name: "list-analyzed-resources",
10511052
description:
1052-
"Retrieves a list of resources of the specified type that have been analyzed by the specified external access analyzer. This action is not supported for unused access analyzers",
1053+
"Retrieves a list of resources of the specified type that have been analyzed by the specified analyzer",
10531054
options: [
10541055
{
10551056
name: "--analyzer-arn",
@@ -1699,6 +1700,44 @@ const completionSpec: Fig.Spec = {
16991700
},
17001701
],
17011702
},
1703+
{
1704+
name: "update-analyzer",
1705+
description: "Modifies the configuration of an existing analyzer",
1706+
options: [
1707+
{
1708+
name: "--analyzer-name",
1709+
description: "The name of the analyzer to modify",
1710+
args: {
1711+
name: "string",
1712+
},
1713+
},
1714+
{
1715+
name: "--configuration",
1716+
description:
1717+
"Contains information about the configuration of an analyzer for an Amazon Web Services organization or account",
1718+
args: {
1719+
name: "structure",
1720+
},
1721+
},
1722+
{
1723+
name: "--cli-input-json",
1724+
description:
1725+
"Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally",
1726+
args: {
1727+
name: "string",
1728+
},
1729+
},
1730+
{
1731+
name: "--generate-cli-skeleton",
1732+
description:
1733+
"Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command",
1734+
args: {
1735+
name: "string",
1736+
suggestions: ["input", "output"],
1737+
},
1738+
},
1739+
],
1740+
},
17021741
{
17031742
name: "update-archive-rule",
17041743
description:

0 commit comments

Comments
 (0)