@@ -23,7 +23,7 @@ export class ElementalInference extends PolicyStatement {
2323 *
2424 * Access Level: Write
2525 *
26- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_AssociateFeed.html
26+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_AssociateFeed.html
2727 */
2828 public toAssociateFeed ( ) {
2929 return this . to ( 'AssociateFeed' ) ;
@@ -38,7 +38,7 @@ export class ElementalInference extends PolicyStatement {
3838 * - .ifAwsRequestTag()
3939 * - .ifAwsTagKeys()
4040 *
41- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_CreateFeed.html
41+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_CreateFeed.html
4242 */
4343 public toCreateFeed ( ) {
4444 return this . to ( 'CreateFeed' ) ;
@@ -49,7 +49,7 @@ export class ElementalInference extends PolicyStatement {
4949 *
5050 * Access Level: Write
5151 *
52- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_DeleteFeed.html
52+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_DeleteFeed.html
5353 */
5454 public toDeleteFeed ( ) {
5555 return this . to ( 'DeleteFeed' ) ;
@@ -60,7 +60,7 @@ export class ElementalInference extends PolicyStatement {
6060 *
6161 * Access Level: Write
6262 *
63- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_DisassociateFeed.html
63+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_DisassociateFeed.html
6464 */
6565 public toDisassociateFeed ( ) {
6666 return this . to ( 'DisassociateFeed' ) ;
@@ -71,7 +71,7 @@ export class ElementalInference extends PolicyStatement {
7171 *
7272 * Access Level: Read
7373 *
74- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_GetFeed.html
74+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_GetFeed.html
7575 */
7676 public toGetFeed ( ) {
7777 return this . to ( 'GetFeed' ) ;
@@ -80,9 +80,9 @@ export class ElementalInference extends PolicyStatement {
8080 /**
8181 * Grants permission to retrieve metadata for a specific feed output
8282 *
83- * Access Level: Write
83+ * Access Level: Read
8484 *
85- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_GetMetadata.html
85+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_GetMetadata.html
8686 */
8787 public toGetMetadata ( ) {
8888 return this . to ( 'GetMetadata' ) ;
@@ -93,7 +93,7 @@ export class ElementalInference extends PolicyStatement {
9393 *
9494 * Access Level: List
9595 *
96- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_ListFeeds.html
96+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_ListFeeds.html
9797 */
9898 public toListFeeds ( ) {
9999 return this . to ( 'ListFeeds' ) ;
@@ -104,7 +104,7 @@ export class ElementalInference extends PolicyStatement {
104104 *
105105 * Access Level: Read
106106 *
107- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_ListTagsForResource.html
107+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_ListTagsForResource.html
108108 */
109109 public toListTagsForResource ( ) {
110110 return this . to ( 'ListTagsForResource' ) ;
@@ -115,7 +115,7 @@ export class ElementalInference extends PolicyStatement {
115115 *
116116 * Access Level: Write
117117 *
118- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_PutMedia.html
118+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_PutMedia.html
119119 */
120120 public toPutMedia ( ) {
121121 return this . to ( 'PutMedia' ) ;
@@ -130,7 +130,7 @@ export class ElementalInference extends PolicyStatement {
130130 * - .ifAwsRequestTag()
131131 * - .ifAwsTagKeys()
132132 *
133- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_TagResource.html
133+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_TagResource.html
134134 */
135135 public toTagResource ( ) {
136136 return this . to ( 'TagResource' ) ;
@@ -144,7 +144,7 @@ export class ElementalInference extends PolicyStatement {
144144 * Possible conditions:
145145 * - .ifAwsTagKeys()
146146 *
147- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_UntagResource.html
147+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_UntagResource.html
148148 */
149149 public toUntagResource ( ) {
150150 return this . to ( 'UntagResource' ) ;
@@ -155,7 +155,7 @@ export class ElementalInference extends PolicyStatement {
155155 *
156156 * Access Level: Write
157157 *
158- * https://docs.aws.amazon.com/elemental-inference/latest/api /API_UpdateFeed.html
158+ * https://docs.aws.amazon.com/elemental-inference/latest/APIReference /API_UpdateFeed.html
159159 */
160160 public toUpdateFeed ( ) {
161161 return this . to ( 'UpdateFeed' ) ;
@@ -167,12 +167,12 @@ export class ElementalInference extends PolicyStatement {
167167 'CreateFeed' ,
168168 'DeleteFeed' ,
169169 'DisassociateFeed' ,
170- 'GetMetadata' ,
171170 'PutMedia' ,
172171 'UpdateFeed'
173172 ] ,
174173 Read : [
175174 'GetFeed' ,
175+ 'GetMetadata' ,
176176 'ListTagsForResource'
177177 ] ,
178178 List : [
@@ -185,9 +185,9 @@ export class ElementalInference extends PolicyStatement {
185185 } ;
186186
187187 /**
188- * Adds a resource of type FeedResource to the statement
188+ * Adds a resource of type feed to the statement
189189 *
190- * https://docs.aws.amazon.com/elemental-inference/latest/APIReference/API_Feed .html
190+ * https://docs.aws.amazon.com/elemental-inference/latest/userguide/elemental-inference-configuration .html
191191 *
192192 * @param id - Identifier for the id.
193193 * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
@@ -197,7 +197,7 @@ export class ElementalInference extends PolicyStatement {
197197 * Possible conditions:
198198 * - .ifAwsResourceTag()
199199 */
200- public onFeedResource ( id : string , account ?: string , region ?: string , partition ?: string ) {
200+ public onFeed ( id : string , account ?: string , region ?: string , partition ?: string ) {
201201 return this . on ( `arn:${ partition ?? this . defaultPartition } :elemental-inference:${ region ?? this . defaultRegion } :${ account ?? this . defaultAccount } :feed/${ id } ` ) ;
202202 }
203203
@@ -224,7 +224,7 @@ export class ElementalInference extends PolicyStatement {
224224 * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
225225 *
226226 * Applies to resource types:
227- * - FeedResource
227+ * - feed
228228 *
229229 * @param tagKey The tag key to check
230230 * @param value The value(s) to check
0 commit comments