Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(aws): update spec #2520

Conversation

withfig-bot
Copy link
Collaborator

Automated PR for latest AWS CLI release by https://github.com/withfig/aws-cli-plugin

@withfig-bot
Copy link
Collaborator Author

Overview

src/aws/observabilityadmin.ts:

Info:

src/aws/bedrock-runtime.ts:

Info:

src/aws/connectcampaignsv2.ts:

Info:

src/aws/bcm-pricing-calculator.ts:

Info:

URLs:

  • https://bcm-pricing-calculator.us-east-1.api.aws

src/aws/notifications.ts:

Info:

src/aws/networkflowmonitor.ts:

Info:

src/aws/billing.ts:

Info:

URLs:

  • https://billing.us-east-1.api.aws

src/aws/bedrock.ts:

Info:

src/aws/athena.ts:

Info:

src/aws/invoicing.ts:

Info:

URLs:

  • https://invoicing.us-east-1.api.aws

src/aws/bedrock-agent.ts:

Info:

src/aws/notificationscontacts.ts:

Info:

src/aws/dsql.ts:

Info:

src/aws/security-ir.ts:

Info:

src/aws/s3tables.ts:

Info:

src/aws/partnercentral-selling.ts:

Info:

src/aws/redshift-serverless.ts:

Info:

src/aws/qbusiness.ts:

Info:

URLs:

  • https://docs.aws.amazon.com
  • https://docs.aws.amazon.com

src/aws/cloudwatch.ts:

Info:

Single Functions:

custom:

 async function (tokens, executeShellCommand) {
      return listCustomGenerator(
        tokens,
        executeShellCommand,
        "list-metrics",
        ["--namespace"],
        "Metrics",
        "MetricName"
      );
    }

custom:

 async function (tokens, executeShellCommand) {
      return listDimensionTypes(
        tokens,
        executeShellCommand,
        "list-metrics",
        "--namespace",
        "Metrics",
        "Dimensions"
      );
    }

custom:

 async function (tokens, executeShellCommand) {
      return listDimensionTypes(
        tokens,
        executeShellCommand,
        "describe-anomaly-detectors",
        "--namespace",
        "AnomalyDetectors",
        "Dimensions"
      );
    }

custom:

 async function (tokens, executeShellCommand) {
      return listCustomGenerator(
        tokens,
        executeShellCommand,
        "describe-anomaly-detectors",
        ["--namespace", "--metric-name"],
        "AnomalyDetectors",
        "Stat"
      );
    }

custom:

 async function (tokens, executeShellCommand) {
      // get list of stream names
      const result = await getResultList(
        tokens,
        executeShellCommand,
        ["firehose", "list-delivery-streams"],
        "DeliveryStreamNames"
      );
      // construct "query"
      const objects = result.flat().map((stream) => {
        return {
          command: [
            "firehose",
            "describe-delivery-stream",
            "--delivery-stream-name",
            Array.isArray(stream.name) ? stream.name[0] : stream.name,
          ],
          parentKey: "DeliveryStreamDescription",
          childKey: "DeliveryStreamARN",
        };
      });
      // Fire up multiple API calls
      return MultiSuggestionsGenerator(tokens, executeShellCommand, [
        ...objects,
      ]);
    }

src/aws/dynamodb.ts:

Info:

src/aws/redshift.ts:

Info:

src/aws/datazone.ts:

Info:

src/aws/glue.ts:

Info:

src/aws/quicksight.ts:

Info:

URLs:

  • https://sapp.amazon.com
  • https://sapp.amazon.com

src/aws.ts:

Info:

Single Functions:

postProcess:

 function (out) {
    if (out.trim() == "") {
      return [];
    }
    return out.split("\n").map((line) => ({
      name: line,
      icon: "👤",
    }));
  }

URLs:

  • https://bcm-data-exports.us-east-1.api.aws
  • https://bcm-pricing-calculator.us-east-1.api.aws
  • https://billing.us-east-1.api.aws
  • https://budgets.amazonaws.com
  • https://ce.us-east-1.amazonaws.com
  • https://service.chime.aws.amazon.com.
  • https://cost-optimization-hub.us-east-1.amazonaws.com
  • https://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl.
  • https://freetier.us-east-1.api.aws
  • https://invoicing.us-east-1.api.aws
  • https://organizations.us-east-1.amazonaws.com
  • http://aws.amazon.com/simpledb/
  • https://tools.ietf.org/html/rfc8628)
  • https://tax.us-east-1.amazonaws.com
  • http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

src/aws/s3api.ts:

Info:

Single Functions:

postProcess:

 function (out) {
    const json = JSON.parse(out);
    return json.Buckets.map((bucket) => {
      let date;
      try {
        date = new Date(bucket.CreationDate).toLocaleDateString();
      } catch (e) {
        date = bucket.CreationDate;
      }
      return {
        name: bucket.Name,
        description: `Created: ${date}`,
      };
    });
  }

URLs:

  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com.
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com.
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • http://acs.amazonaws.com/groups/s3/LogDelivery
  • http://www.example.com
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • http://www.w3.org/2001/XMLSchema-instance
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://s3express-control.region-code.amazonaws.com/bucket-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9
  • https://www.rfc-editor.org/rfc/rfc6266#section-4
  • https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding
  • https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length
  • https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type
  • https://www.rfc-editor.org/rfc/rfc7234#section-5.3
  • http://www.example.com/
  • http://www.w3.org/2001/XMLSchema-instance
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name
  • https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name

@withfig-bot
Copy link
Collaborator Author

Hello @withfig-bot,
thank you very much for creating a Pull Request!
Here is a small checklist to get this PR merged as quickly as possible:

  • Do all subcommands / options which take arguments include the args property (args: {})?
  • Are all options modular? E.g. -a -u -x instead of -aux
  • Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

@grant0417 grant0417 merged commit 7362b87 into withfig:master Dec 8, 2024
5 checks passed
@withfig withfig locked and limited conversation to collaborators Dec 8, 2024
@withfig-bot withfig-bot deleted the auto-update/aws/202db359-6a9d-4130-a11b-af2391e8a5f8 branch December 11, 2024 00:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants