Inital Commit

This commit is contained in:
Brett Woodruff
2024-06-10 12:24:37 -04:00
commit 106024bcb4
2223 changed files with 241071 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,22 @@
{
"pagination": {
"ListWorkspaces": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "workspaces"
},
"ListRuleGroupsNamespaces": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "ruleGroupsNamespaces"
},
"ListScrapers": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "scrapers"
}
}
}

View File

@@ -0,0 +1,76 @@
{
"version" : 2,
"waiters" : {
"ScraperActive" : {
"description" : "Wait until a scraper reaches ACTIVE status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeScraper",
"acceptors" : [ {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "failure",
"expected" : "CREATION_FAILED"
} ]
},
"ScraperDeleted" : {
"description" : "Wait until a scraper reaches DELETED status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeScraper",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "failure",
"expected" : "DELETION_FAILED"
} ]
},
"WorkspaceActive" : {
"description" : "Wait until a workspace reaches ACTIVE status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeWorkspace",
"acceptors" : [ {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "UPDATING"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "CREATING"
} ]
},
"WorkspaceDeleted" : {
"description" : "Wait until a workspace reaches DELETED status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeWorkspace",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "DELETING"
} ]
}
}
}