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

Automated SDK generation @ aws-cloudformation-user-guide 19dc52cd3f2007d6d268b65b739ffb5ebf8c1e76 #2057

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docs.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
910039c6da5fb0bce7349479a19966b561d06d9e
99bef9437c738f443bcf132d46c49e8627d55b84
9 changes: 8 additions & 1 deletion aws-cloudformation-schema/aws-athena-datacatalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,12 @@
"primaryIdentifier" : [ "/properties/Name" ],
"createOnlyProperties" : [ "/properties/Name" ],
"additionalProperties" : false,
"taggable" : true
"tagging" : {
"taggable" : true,
"tagOnCreate" : true,
"tagUpdatable" : true,
"cloudFormationSystemTags" : true,
"tagProperty" : "/properties/Tags",
"permissions" : [ "athena:UntagResource", "athena:TagResource", "athena:ListTagsForResource" ]
}
}
8 changes: 4 additions & 4 deletions aws-cloudformation-schema/aws-b2bi-partnership.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@
"type" : "string",
"maxLength" : 15,
"minLength" : 2,
"pattern" : "^[a-zA-Z0-9]*$"
"pattern" : "^[a-zA-Z0-9 ]*$"
},
"ApplicationReceiverCode" : {
"type" : "string",
"maxLength" : 15,
"minLength" : 2,
"pattern" : "^[a-zA-Z0-9]*$"
"pattern" : "^[a-zA-Z0-9 ]*$"
},
"ResponsibleAgencyCode" : {
"type" : "string",
Expand All @@ -111,7 +111,7 @@
"type" : "string",
"maxLength" : 15,
"minLength" : 15,
"pattern" : "^[a-zA-Z0-9]*$"
"pattern" : "^[a-zA-Z0-9 ]*$"
},
"ReceiverIdQualifier" : {
"type" : "string",
Expand All @@ -123,7 +123,7 @@
"type" : "string",
"maxLength" : 15,
"minLength" : 15,
"pattern" : "^[a-zA-Z0-9]*$"
"pattern" : "^[a-zA-Z0-9 ]*$"
},
"RepetitionSeparator" : {
"type" : "string",
Expand Down
56 changes: 56 additions & 0 deletions aws-cloudformation-schema/aws-bedrock-prompt.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
},
"GenAiResource" : {
"$ref" : "#/definitions/PromptGenAiResource"
},
"AdditionalModelRequestFields" : {
"$ref" : "#/definitions/AdditionalModelRequestFields"
}
},
"required" : [ "Name", "TemplateType", "TemplateConfiguration" ],
Expand Down Expand Up @@ -61,6 +64,9 @@
"minItems" : 0,
"description" : "List of input variables",
"insertionOrder" : true
},
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ ],
Expand Down Expand Up @@ -175,6 +181,16 @@
},
"required" : [ "Text" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"SystemContentBlock" : {
Expand All @@ -191,6 +207,16 @@
},
"required" : [ "Text" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"Message" : {
Expand Down Expand Up @@ -262,6 +288,16 @@
},
"required" : [ "ToolSpec" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"AutoToolChoice" : {
Expand Down Expand Up @@ -445,6 +481,26 @@
"required" : [ "Agent" ],
"additionalProperties" : false
} ]
},
"CachePointBlock" : {
"description" : "CachePointBlock",
"type" : "object",
"properties" : {
"Type" : {
"$ref" : "#/definitions/CachePointType"
}
},
"required" : [ "Type" ],
"additionalProperties" : false
},
"CachePointType" : {
"description" : "CachePoint types for CachePointBlock",
"type" : "string",
"enum" : [ "default" ]
},
"AdditionalModelRequestFields" : {
"type" : "object",
"description" : "Contains model-specific configurations"
}
},
"properties" : {
Expand Down
56 changes: 56 additions & 0 deletions aws-cloudformation-schema/aws-bedrock-promptversion.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
},
"GenAiResource" : {
"$ref" : "#/definitions/PromptGenAiResource"
},
"AdditionalModelRequestFields" : {
"$ref" : "#/definitions/AdditionalModelRequestFields"
}
},
"required" : [ "Name", "TemplateType", "TemplateConfiguration" ],
Expand All @@ -59,6 +62,9 @@
"minItems" : 0,
"description" : "List of input variables",
"insertionOrder" : true
},
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "Text" ],
Expand Down Expand Up @@ -146,6 +152,16 @@
},
"required" : [ "Text" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"SystemContentBlock" : {
Expand All @@ -162,6 +178,16 @@
},
"required" : [ "Text" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"Message" : {
Expand Down Expand Up @@ -233,6 +259,16 @@
},
"required" : [ "ToolSpec" ],
"additionalProperties" : false
}, {
"title" : "CachePoint",
"type" : "object",
"properties" : {
"CachePoint" : {
"$ref" : "#/definitions/CachePointBlock"
}
},
"required" : [ "CachePoint" ],
"additionalProperties" : false
} ]
},
"AutoToolChoice" : {
Expand Down Expand Up @@ -416,6 +452,26 @@
"required" : [ "Agent" ],
"additionalProperties" : false
} ]
},
"CachePointBlock" : {
"description" : "CachePointBlock",
"type" : "object",
"properties" : {
"Type" : {
"$ref" : "#/definitions/CachePointType"
}
},
"required" : [ "Type" ],
"additionalProperties" : false
},
"CachePointType" : {
"description" : "CachePoint types for CachePointBlock",
"type" : "string",
"enum" : [ "default" ]
},
"AdditionalModelRequestFields" : {
"type" : "object",
"description" : "Contains model-specific configurations"
}
},
"properties" : {
Expand Down
66 changes: 44 additions & 22 deletions aws-cloudformation-schema/aws-cognito-userpooldomain.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,62 @@
{
"typeName" : "AWS::Cognito::UserPoolDomain",
"description" : "Resource Type definition for AWS::Cognito::UserPoolDomain",
"additionalProperties" : false,
"sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
"tagging" : {
"taggable" : false,
"tagOnCreate" : false,
"tagUpdatable" : false,
"cloudFormationSystemTags" : false
},
"definitions" : {
"CustomDomainConfigType" : {
"type" : "object",
"properties" : {
"CertificateArn" : {
"type" : "string"
}
},
"additionalProperties" : false
}
},
"properties" : {
"CloudFrontDistribution" : {
"type" : "string"
},
"UserPoolId" : {
"type" : "string"
},
"Id" : {
"Domain" : {
"type" : "string"
},
"Domain" : {
"CustomDomainConfig" : {
"$ref" : "#/definitions/CustomDomainConfigType"
},
"CloudFrontDistribution" : {
"type" : "string"
},
"ManagedLoginVersion" : {
"type" : "integer"
},
"CustomDomainConfig" : {
"$ref" : "#/definitions/CustomDomainConfigType"
}
},
"definitions" : {
"CustomDomainConfigType" : {
"type" : "object",
"additionalProperties" : false,
"properties" : {
"CertificateArn" : {
"type" : "string"
}
}
}
},
"additionalProperties" : false,
"required" : [ "UserPoolId", "Domain" ],
"readOnlyProperties" : [ "/properties/CloudFrontDistribution" ],
"primaryIdentifier" : [ "/properties/UserPoolId", "/properties/Domain" ],
"createOnlyProperties" : [ "/properties/UserPoolId", "/properties/Domain" ],
"primaryIdentifier" : [ "/properties/Id" ],
"readOnlyProperties" : [ "/properties/Id", "/properties/CloudFrontDistribution" ]
"writeOnlyProperties" : [ "/properties/ManagedLoginVersion" ],
"handlers" : {
"create" : {
"permissions" : [ "cognito-idp:CreateUserPoolDomain", "cognito-idp:DescribeUserPoolDomain", "cloudfront:updateDistribution" ],
"timeoutInMinutes" : 20
},
"read" : {
"permissions" : [ "cognito-idp:DescribeUserPoolDomain" ]
},
"update" : {
"permissions" : [ "cognito-idp:UpdateUserPoolDomain", "cognito-idp:DescribeUserPoolDomain", "cloudfront:updateDistribution" ],
"timeoutInMinutes" : 20
},
"delete" : {
"permissions" : [ "cognito-idp:DeleteUserPoolDomain", "cognito-idp:DescribeUserPoolDomain" ],
"timeoutInMinutes" : 25
}
}
}
Loading
Loading