-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 #2489
Merged
grant0417
merged 1 commit into
withfig:master
from
withfig-bot:auto-update/aws/a16b1770-7570-4eba-8c30-dd19193cf519
Oct 23, 2024
Merged
feat(aws): update spec #2489
grant0417
merged 1 commit into
withfig:master
from
withfig-bot:auto-update/aws/a16b1770-7570-4eba-8c30-dd19193cf519
Oct 23, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Overviewsrc/aws/elastic-inference.ts:Info:src/aws/marketplace-reporting.ts:Info:URLs:
src/aws/dataexchange.ts:Info:src/aws/repostspace.ts:Info:src/aws/application-insights.ts:Info:src/aws/timestream-query.ts:Info:src/aws/supplychain.ts:Info:URLs:
src/aws/payment-cryptography-data.ts:Info:src/aws/socialmessaging.ts:Info:src/aws/m2.ts:Info:src/aws/ivs.ts:Info:URLs:
src/aws/securitylake.ts:Info:src/aws/mailmanager.ts:Info:src/aws/neptune-graph.ts:Info:src/aws/acm-pca.ts:Info:src/aws/codepipeline.ts:Info:src/aws/bedrock-agent.ts:Info:src/aws/fms.ts:Info:src/aws/amplify.ts:Info:Single Functions:custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-backend-environments",
["--app-id"],
"backendEnvironments",
"environmentName"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-backend-environments",
["--app-id"],
"backendEnvironments",
"backendEnvironmentArn"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-branches",
["--app-id"],
"branches",
"branchName"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-branches",
["--app-id"],
"branches",
"framework"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-branches",
["--app-id"],
"branches",
"buildSpec"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-domain-associations",
["--app-id"],
"domainAssociations",
"domainName"
);
} custom: async function (tokens, executeShellCommand) {
return customGenerator(
tokens,
executeShellCommand,
"list-jobs",
["--app-id", "--branch-name"],
"jobSummaries",
"jobId"
);
} src/aws/athena.ts:Info:src/aws/imagebuilder.ts:Info:URLs:
src/aws/qbusiness.ts:Info:URLs:
src/aws/robomaker.ts:Info:URLs:
src/aws/resiliencehub.ts:Info:src/aws/codebuild.ts:Info:src/aws/route53resolver.ts:Info:src/aws/wafv2.ts:Info:src/aws/autoscaling.ts:Info:URLs:
src/aws/transfer.ts:Info:URLs:
src/aws/sesv2.ts:Info:src/aws/pinpoint-sms-voice-v2.ts:Info:src/aws/eks.ts:Info:Single Functions:postProcess: function (out) {
try {
const list = JSON.parse(out)["Keys"];
return list.map((key) => {
return {
name: `resources=secrets,provider={keyArn=${key["KeyArn"]}}`,
icon: "fig://icon?type=aws",
};
});
} catch (e) {
console.log(e);
}
return [];
} custom: async function (tokens, executeShellCommand) {
return listCustomGenerator(
tokens,
executeShellCommand,
"list-addons",
["--cluster-name"],
"addons"
);
} custom: async function (tokens, executeShellCommand) {
return listCustomGenerator(
tokens,
executeShellCommand,
"list-fargate-profiles",
["--cluster-name"],
"fargateProfileNames"
);
} custom: async function (tokens, executeShellCommand) {
return listCustomGenerator(
tokens,
executeShellCommand,
"list-nodegroups",
["--cluster-name"],
"nodegroups"
);
} URLs:
src/aws/ecs.ts:Info:URLs:
src/aws/dms.ts:Info:src/aws/cloudformation.ts:Info:Single Functions:postProcess: function (out) {
try {
const accountId = JSON.parse(out)["Account"];
return [{ name: accountId }];
} catch (error) {
console.error(error);
}
return [];
} postProcess: function (out) {
return postPrecessGenerator(out, "TypeSummaries", "TypeArn");
} postProcess: function (out) {
return postPrecessGenerator(out, "Exports", "Name");
} postProcess: function (out, tokens) {
try {
return out.split("\n").map((line) => {
const parts = line.split(/\s+/);
// sub prefix
if (!parts.length) {
return [];
}
return {
name: _prefixS3 + parts[parts.length - 1],
};
}) as Fig.Suggestion[];
} catch (error) {
console.error(error);
}
return [];
} postProcess: function (out) {
return postPrecessGenerator(out, "Keys", "KeyId");
} src/aws/quicksight.ts:Info:URLs:
src/aws/redshift.ts:Info:src/aws.ts:Info:Single Functions:postProcess: function (out) {
if (out.trim() == "") {
return [];
}
return out.split("\n").map((line) => ({
name: line,
icon: "👤",
}));
} URLs:
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:
src/aws/rds.ts:Info: |
Hello @withfig-bot,
Please add a 👍 as a reaction to this comment to show that you read this. |
grant0417
approved these changes
Oct 23, 2024
withfig-bot
deleted the
auto-update/aws/a16b1770-7570-4eba-8c30-dd19193cf519
branch
October 30, 2024 00:27
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Automated PR for latest AWS CLI release by https://github.com/withfig/aws-cli-plugin